#8E792D#8E792D
#8E792D is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.098 H 93.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E792D |
|---|---|
| RGB | rgb(142, 121, 45) |
| HSL | hsl(47, 52%, 37%) |
| HSV | hsv(47, 68%, 56%) |
| CMYK | cmyk(0%, 14.8%, 68.3%, 44.3%) |
| CIE-LAB | lab(51.40, -0.92, 43.20) |
| CIE-LCH | lch(51.40, 43.21, 91.22°) |
| OKLab | oklab(58.08% -0.0061 0.0977) |
| OKLCH | oklch(58.08% 0.098 93.6) |
| XYZ | xyz(18.4673, 19.6160, 5.2957) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.63
Puke Brown
#947706
ΔE00 4.29
Poo
#8F7303
ΔE00 4.41
Baby Poop
#937C00
ΔE00 4.66
Yellowish Brown
#9B7A01
ΔE00 5.48
Ugly Brown
#7D7103
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E792D #2D428E
analogous
#8E492D #8E792D #738E2D
triadic
#8E792D #2D8E79 #792D8E
tetradic
#8E792D #2D8E49 #2D428E #8E2D73
square
#8E792D #2D8E49 #2D428E #8E2D73
split-complementary
#8E792D #2D738E #492D8E
monochromatic
#312A10 #60511E #8E792D #BCA13C #CFB867
Accessibility & contrast
On white
4.27
#8E792D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8E792D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E792D
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E792D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E792D | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#997069
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8e792d; /* rgb */ color: rgb(142, 121, 45); /* oklch */ color: oklch(58.1% 0.098 93.6);
Tailwind
colors: {
custom: {
50: '#b29f6a',
500: '#8e792d',
950: '#000000',
},
}SCSS
$custom: #8e792d; $custom-light: #b29f6a; $custom-dark: #000000;
JSON
{
"hex": "#8e792d",
"rgb": {
"r": 142,
"g": 121,
"b": 45
},
"hsl": {
"h": 47.01,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.58078,
"c": 0.09789,
"h": 93.6
},
"luminance": 0.19615
}Semantic roles & 50–950 ramp
primary
#8E792D
secondary
#6174B5
accent
#6BDB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A