BrickColor 338
Official RGB 127, 142, 100. HEX, HSL, and OKLCH below are calculated conversions.
#7F8E64
Accessibility
Vs white / black
3.53:1 · 5.96:1
Sources
Codes
HEX
#7f8e64
RGB
rgb(127, 142, 100)
RGBA
rgba(127, 142, 100, 1)
HSL
hsl(81, 17%, 47%)
HSLA
hsla(81, 17%, 47%, 1)
HSV
hsv(81, 30%, 56%)
LAB
lab(56.86% -13.1 20.64)
LCH
lch(56.86% 24.45 122.4)
OKLAB
oklab(0.6234 -0.0352 0.0519)
OKLCH
oklch(0.6234 0.0627 124.15)
XYZ
xyz(20.73, 24.78, 15.74)
CMYK
cmyk(11%, 0%, 30%, 44%)
CSS
color: #7f8e64;
CSS variable
--color-7f8e64: #7f8e64;
SCSS
$color-7f8e64: #7f8e64;
JavaScript
const color = "#7f8e64";
TypeScript
const color: string = "#7f8e64";
React
style={{ backgroundColor: "#7f8e64" }}
JSON
{ "hex": "#7f8e64", "rgb": { "r": 127, "g": 142, "b": 100 }, "oklch": "oklch(0.6234 0.0627 124.15)" }
Export
:root {
--grime-(brickcolor-338)-1: #7f8e64;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
lime-700
Very different · ΔE 15.35 · #4D7C0F
Nearest CSS named color
OliveDrab
Very different · ΔE 11.77 · #6B8E23
Nearest Material color
light-green-800
Very different · ΔE 11.89 · #558B2F
Nearest Bootstrap color
success
Very different · ΔE 15.67 · #198754
OKLCH
Generated in OKLCH from this hex. Not an official Tailwind scale unless the hex itself is a Tailwind token.
Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
Grime (BrickColor 338) (#7f8e64) sits in the blue family at about 81° hue, 17% saturation, and 47% lightness. Contrast is 3.53:1 on white and 5.96:1 on black, so near-black labels read more clearly on the swatch itself. Nearest Tailwind token: lime-700 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
Do not use #7f8e64 as small body text on white — 3.53:1 misses WCAG AA (4.5:1). Pair it with a darker shade from the scale below, or check pairs in the contrast checker.
Family context: Trust, calm, and professionalism. The most used color in SaaS, finance, and healthcare. Common uses still include buttons, charts, and accents in the Blue range — always verify the pair for this exact hex in the contrast checker.