#8E7E2B#8E7E2B
#8E7E2B is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.103 H 98.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E2B |
|---|---|
| RGB | rgb(142, 126, 43) |
| HSL | hsl(50, 54%, 36%) |
| HSV | hsv(50, 70%, 56%) |
| CMYK | cmyk(0%, 11.3%, 69.7%, 44.3%) |
| CIE-LAB | lab(52.78, -3.85, 45.54) |
| CIE-LCH | lch(52.78, 45.70, 94.83°) |
| OKLab | oklab(59.17% -0.0147 0.1023) |
| OKLCH | oklch(59.17% 0.103 98.2) |
| XYZ | xyz(19.0531, 20.8478, 5.3055) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.85
Baby Poop
#937C00
ΔE00 4.13
Puke Brown
#947706
ΔE00 5.18
Poo
#8F7303
ΔE00 5.68
Diarrhea
#9F8303
ΔE00 5.90
Olive
#808000
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E2B #2B3B8E
analogous
#8E4D2B #8E7E2B #6D8E2B
triadic
#8E7E2B #2B8E7E #7E2B8E
tetradic
#8E7E2B #2B8E4D #2B3B8E #8E2B6D
square
#8E7E2B #2B8E4D #2B3B8E #8E2B6D
split-complementary
#8E7E2B #2B6D8E #4D2B8E
monochromatic
#302B0F #5F541D #8E7E2B #BDA839 #D0BE63
Accessibility & contrast
On white
4.06
#8E7E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#8E7E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E2B
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E2B | 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)
#8A7B20
Deuteranopia (green-blind)
#8F8030
Tritanopia (blue-blind)
#99756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e2b; /* rgb */ color: rgb(142, 126, 43); /* oklch */ color: oklch(59.2% 0.103 98.2);
Tailwind
colors: {
custom: {
50: '#b2a369',
500: '#8e7e2b',
950: '#000000',
},
}SCSS
$custom: #8e7e2b; $custom-light: #b2a369; $custom-dark: #000000;
JSON
{
"hex": "#8e7e2b",
"rgb": {
"r": 142,
"g": 126,
"b": 43
},
"hsl": {
"h": 50.303,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.59166,
"c": 0.10335,
"h": 98.2
},
"luminance": 0.20847
}Semantic roles & 50–950 ramp
primary
#8E7E2B
secondary
#5F6DB6
accent
#62DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A