#8E7E1A#8E7E1A
#8E7E1A is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.114 H 99.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E1A |
|---|---|
| RGB | rgb(142, 126, 26) |
| HSL | hsl(52, 69%, 33%) |
| HSV | hsv(52, 82%, 56%) |
| CMYK | cmyk(0%, 11.3%, 81.7%, 44.3%) |
| CIE-LAB | lab(52.67, -4.66, 51.96) |
| CIE-LCH | lch(52.67, 52.17, 95.12°) |
| OKLab | oklab(59.04% -0.0188 0.1126) |
| OKLCH | oklch(59.04% 0.114 99.5) |
| XYZ | xyz(18.8036, 20.7480, 3.9914) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.69
Hazel
#8E7618
ΔE00 3.71
Puke Brown
#947706
ΔE00 4.57
Diarrhea
#9F8303
ΔE00 4.91
Olive
#808000
ΔE00 5.05
Poo
#8F7303
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E1A #1A2A8E
analogous
#8E441A #8E7E1A #648E1A
triadic
#8E7E1A #1A8E7E #7E1A8E
tetradic
#8E7E1A #1A8E44 #1A2A8E #8E1A64
square
#8E7E1A #1A8E44 #1A2A8E #8E1A64
split-complementary
#8E7E1A #1A648E #441A8E
monochromatic
#272207 #5A5011 #8E7E1A #C2AC23 #DDC845
Accessibility & contrast
On white
4.08
#8E7E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8E7E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E1A
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E1A | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#9A746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8e7e1a; /* rgb */ color: rgb(142, 126, 26); /* oklch */ color: oklch(59.0% 0.114 99.5);
Tailwind
colors: {
custom: {
50: '#b3a360',
500: '#8e7e1a',
950: '#000000',
},
}SCSS
$custom: #8e7e1a; $custom-light: #b3a360; $custom-dark: #000000;
JSON
{
"hex": "#8e7e1a",
"rgb": {
"r": 142,
"g": 126,
"b": 26
},
"hsl": {
"h": 51.724,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.59044,
"c": 0.11413,
"h": 99.5
},
"luminance": 0.20747
}Semantic roles & 50–950 ramp
primary
#8E7E1A
secondary
#4556BE
accent
#54EC3C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A