#8E772D#8E772D
#8E772D is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.097 H 91.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8E772D |
|---|---|
| RGB | rgb(142, 119, 45) |
| HSL | hsl(46, 52%, 37%) |
| HSV | hsv(46, 68%, 56%) |
| CMYK | cmyk(0%, 16.2%, 68.3%, 44.3%) |
| CIE-LAB | lab(50.84, 0.21, 42.62) |
| CIE-LCH | lch(50.84, 42.62, 89.72°) |
| OKLab | oklab(57.64% -0.0028 0.0965) |
| OKLCH | oklch(57.64% 0.097 91.7) |
| XYZ | xyz(18.2267, 19.1349, 5.2155) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.64
Poo
#8F7303
ΔE00 4.16
Puke Brown
#947706
ΔE00 4.25
Baby Poop
#937C00
ΔE00 5.15
Yellowish Brown
#9B7A01
ΔE00 5.48
Ugly Brown
#7D7103
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E772D #2D448E
analogous
#8E472D #8E772D #758E2D
triadic
#8E772D #2D8E77 #772D8E
tetradic
#8E772D #2D8E47 #2D448E #8E2D75
square
#8E772D #2D8E47 #2D448E #8E2D75
split-complementary
#8E772D #2D758E #472D8E
monochromatic
#312910 #60501E #8E772D #BC9E3C #CFB667
Accessibility & contrast
On white
4.35
#8E772D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#8E772D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E772D
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E772D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E772D | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847524
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#996D67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8e772d; /* rgb */ color: rgb(142, 119, 45); /* oklch */ color: oklch(57.6% 0.097 91.7);
Tailwind
colors: {
custom: {
50: '#b29e6a',
500: '#8e772d',
950: '#000000',
},
}SCSS
$custom: #8e772d; $custom-light: #b29e6a; $custom-dark: #000000;
JSON
{
"hex": "#8e772d",
"rgb": {
"r": 142,
"g": 119,
"b": 45
},
"hsl": {
"h": 45.773,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.57639,
"c": 0.0965,
"h": 91.7
},
"luminance": 0.19134
}Semantic roles & 50–950 ramp
primary
#8E772D
secondary
#6175B5
accent
#6EDB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A