#8E7A20#8E7A20
#8E7A20 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.108 H 96.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7A20 |
|---|---|
| RGB | rgb(142, 122, 32) |
| HSL | hsl(49, 63%, 34%) |
| HSV | hsv(49, 77%, 56%) |
| CMYK | cmyk(0%, 14.1%, 77.5%, 44.3%) |
| CIE-LAB | lab(51.58, -2.18, 48.86) |
| CIE-LCH | lch(51.58, 48.91, 92.56°) |
| OKLab | oklab(58.19% -0.0112 0.1072) |
| OKLCH | oklch(58.19% 0.108 96) |
| XYZ | xyz(18.3765, 19.7751, 4.2153) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.86
Baby Poop
#937C00
ΔE00 2.87
Puke Brown
#947706
ΔE00 3.33
Poo
#8F7303
ΔE00 3.66
Yellowish Brown
#9B7A01
ΔE00 4.64
Ugly Brown
#7D7103
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7A20 #20348E
analogous
#8E4320 #8E7A20 #6B8E20
triadic
#8E7A20 #208E7A #7A208E
tetradic
#8E7A20 #208E43 #20348E #8E206B
square
#8E7A20 #208E43 #20348E #8E206B
split-complementary
#8E7A20 #206B8E #43208E
monochromatic
#2A2409 #5C4F15 #8E7A20 #C0A52B #D8BF51
Accessibility & contrast
On white
4.24
#8E7A20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8E7A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7A20
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7A20 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#9A7069
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8e7a20; /* rgb */ color: rgb(142, 122, 32); /* oklch */ color: oklch(58.2% 0.108 96.0);
Tailwind
colors: {
custom: {
50: '#b3a063',
500: '#8e7a20',
950: '#000000',
},
}SCSS
$custom: #8e7a20; $custom-light: #b3a063; $custom-dark: #000000;
JSON
{
"hex": "#8e7a20",
"rgb": {
"r": 142,
"g": 122,
"b": 32
},
"hsl": {
"h": 49.091,
"s": 63.218,
"l": 34.118
},
"oklch": {
"l": 0.5819,
"c": 0.10778,
"h": 96
},
"luminance": 0.19774
}Semantic roles & 50–950 ramp
primary
#8E7A20
secondary
#4F63BB
accent
#5FE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A