#8E7E2D#8E7E2D
#8E7E2D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.102 H 98.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E2D |
|---|---|
| RGB | rgb(142, 126, 45) |
| HSL | hsl(50, 52%, 37%) |
| HSV | hsv(50, 68%, 56%) |
| CMYK | cmyk(0%, 11.3%, 68.3%, 44.3%) |
| CIE-LAB | lab(52.80, -3.73, 44.67) |
| CIE-LCH | lch(52.80, 44.83, 94.77°) |
| OKLab | oklab(59.18% -0.0141 0.1008) |
| OKLCH | oklch(59.18% 0.102 98) |
| XYZ | xyz(19.0907, 20.8629, 5.5035) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.95
Baby Poop
#937C00
ΔE00 4.36
Puke Brown
#947706
ΔE00 5.32
Poo
#8F7303
ΔE00 5.81
Diarrhea
#9F8303
ΔE00 6.08
Ugly Brown
#7D7103
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E2D #2D3D8E
analogous
#8E4E2D #8E7E2D #6E8E2D
triadic
#8E7E2D #2D8E7E #7E2D8E
tetradic
#8E7E2D #2D8E4E #2D3D8E #8E2D6E
square
#8E7E2D #2D8E4E #2D3D8E #8E2D6E
split-complementary
#8E7E2D #2D6E8E #4E2D8E
monochromatic
#312C10 #60551E #8E7E2D #BCA73C #CFBE67
Accessibility & contrast
On white
4.06
#8E7E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#8E7E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E2D
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E2D | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B23
Deuteranopia (green-blind)
#8F8031
Tritanopia (blue-blind)
#99756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e2d; /* rgb */ color: rgb(142, 126, 45); /* oklch */ color: oklch(59.2% 0.102 98.0);
Tailwind
colors: {
custom: {
50: '#b2a36a',
500: '#8e7e2d',
950: '#000000',
},
}SCSS
$custom: #8e7e2d; $custom-light: #b2a36a; $custom-dark: #000000;
JSON
{
"hex": "#8e7e2d",
"rgb": {
"r": 142,
"g": 126,
"b": 45
},
"hsl": {
"h": 50.103,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.59184,
"c": 0.1018,
"h": 98
},
"luminance": 0.20862
}Semantic roles & 50–950 ramp
primary
#8E7E2D
secondary
#616FB5
accent
#64DB4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A