#8E7E2A#8E7E2A
#8E7E2A is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.104 H 98.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E2A |
|---|---|
| RGB | rgb(142, 126, 42) |
| HSL | hsl(50, 54%, 36%) |
| HSV | hsv(50, 70%, 56%) |
| CMYK | cmyk(0%, 11.3%, 70.4%, 44.3%) |
| CIE-LAB | lab(52.77, -3.91, 45.97) |
| CIE-LCH | lch(52.77, 46.13, 94.86°) |
| OKLab | oklab(59.16% -0.015 0.103) |
| OKLCH | oklch(59.16% 0.104 98.3) |
| XYZ | xyz(19.0350, 20.8406, 5.2100) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.80
Baby Poop
#937C00
ΔE00 4.01
Puke Brown
#947706
ΔE00 5.12
Poo
#8F7303
ΔE00 5.63
Diarrhea
#9F8303
ΔE00 5.81
Olive
#808000
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E2A #2A3A8E
analogous
#8E4C2A #8E7E2A #6C8E2A
triadic
#8E7E2A #2A8E7E #7E2A8E
tetradic
#8E7E2A #2A8E4C #2A3A8E #8E2A6C
square
#8E7E2A #2A8E4C #2A3A8E #8E2A6C
split-complementary
#8E7E2A #2A6C8E #4C2A8E
monochromatic
#302A0E #5F541C #8E7E2A #BDA838 #D1BF62
Accessibility & contrast
On white
4.06
#8E7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#8E7E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E2A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E2A | 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)
#8A7B1E
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#99756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e2a; /* rgb */ color: rgb(142, 126, 42); /* oklch */ color: oklch(59.2% 0.104 98.3);
Tailwind
colors: {
custom: {
50: '#b2a369',
500: '#8e7e2a',
950: '#000000',
},
}SCSS
$custom: #8e7e2a; $custom-light: #b2a369; $custom-dark: #000000;
JSON
{
"hex": "#8e7e2a",
"rgb": {
"r": 142,
"g": 126,
"b": 42
},
"hsl": {
"h": 50.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.59157,
"c": 0.10411,
"h": 98.3
},
"luminance": 0.2084
}Semantic roles & 50–950 ramp
primary
#8E7E2A
secondary
#5D6CB6
accent
#62DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A