#8E7D20#8E7D20
#8E7D20 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.110 H 98.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7D20 |
|---|---|
| RGB | rgb(142, 125, 32) |
| HSL | hsl(51, 63%, 34%) |
| HSV | hsv(51, 77%, 56%) |
| CMYK | cmyk(0%, 12%, 77.5%, 44.3%) |
| CIE-LAB | lab(52.42, -3.86, 49.65) |
| CIE-LCH | lch(52.42, 49.80, 94.45°) |
| OKLab | oklab(58.86% -0.016 0.1089) |
| OKLCH | oklch(58.86% 0.11 98.4) |
| XYZ | xyz(18.7506, 20.5233, 4.3400) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.91
Hazel
#8E7618
ΔE00 3.19
Puke Brown
#947706
ΔE00 4.31
Poo
#8F7303
ΔE00 4.85
Diarrhea
#9F8303
ΔE00 5.15
Yellowish Brown
#9B7A01
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7D20 #20318E
analogous
#8E4620 #8E7D20 #688E20
triadic
#8E7D20 #208E7D #7D208E
tetradic
#8E7D20 #208E46 #20318E #8E2068
square
#8E7D20 #208E46 #20318E #8E2068
split-complementary
#8E7D20 #20688E #46208E
monochromatic
#2A2509 #5C5115 #8E7D20 #C0A92B #D8C351
Accessibility & contrast
On white
4.11
#8E7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8E7D20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7D20
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7D20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7D20 | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#8E8026
Tritanopia (blue-blind)
#9A736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8e7d20; /* rgb */ color: rgb(142, 125, 32); /* oklch */ color: oklch(58.9% 0.110 98.4);
Tailwind
colors: {
custom: {
50: '#b3a263',
500: '#8e7d20',
950: '#000000',
},
}SCSS
$custom: #8e7d20; $custom-light: #b3a263; $custom-dark: #000000;
JSON
{
"hex": "#8e7d20",
"rgb": {
"r": 142,
"g": 125,
"b": 32
},
"hsl": {
"h": 50.727,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.58857,
"c": 0.11004,
"h": 98.4
},
"luminance": 0.20522
}Semantic roles & 50–950 ramp
primary
#8E7D20
secondary
#4F60BB
accent
#5BE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A