#8E7D1E#8E7D1E
#8E7D1E is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.111 H 98.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7D1E |
|---|---|
| RGB | rgb(142, 125, 30) |
| HSL | hsl(51, 65%, 34%) |
| HSV | hsv(51, 79%, 56%) |
| CMYK | cmyk(0%, 12%, 78.9%, 44.3%) |
| CIE-LAB | lab(52.41, -3.95, 50.37) |
| CIE-LCH | lch(52.41, 50.52, 94.48°) |
| OKLab | oklab(58.84% -0.0164 0.11) |
| OKLCH | oklch(58.84% 0.111 98.5) |
| XYZ | xyz(18.7242, 20.5127, 4.2011) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.75
Hazel
#8E7618
ΔE00 3.19
Puke Brown
#947706
ΔE00 4.26
Poo
#8F7303
ΔE00 4.80
Diarrhea
#9F8303
ΔE00 5.06
Yellowish Brown
#9B7A01
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7D1E #1E2F8E
analogous
#8E451E #8E7D1E #678E1E
triadic
#8E7D1E #1E8E7D #7D1E8E
tetradic
#8E7D1E #1E8E45 #1E2F8E #8E1E67
square
#8E7D1E #1E8E45 #1E2F8E #8E1E67
split-complementary
#8E7D1E #1E678E #451E8E
monochromatic
#292409 #5B5113 #8E7D1E #C1A929 #D9C44D
Accessibility & contrast
On white
4.12
#8E7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8E7D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7D1E
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7D1E | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 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)
#8A7A09
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#9A736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8e7d1e; /* rgb */ color: rgb(142, 125, 30); /* oklch */ color: oklch(58.8% 0.111 98.5);
Tailwind
colors: {
custom: {
50: '#b3a262',
500: '#8e7d1e',
950: '#000000',
},
}SCSS
$custom: #8e7d1e; $custom-light: #b3a262; $custom-dark: #000000;
JSON
{
"hex": "#8e7d1e",
"rgb": {
"r": 142,
"g": 125,
"b": 30
},
"hsl": {
"h": 50.893,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.58844,
"c": 0.1112,
"h": 98.5
},
"luminance": 0.20512
}Semantic roles & 50–950 ramp
primary
#8E7D1E
secondary
#4C5DBC
accent
#59E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A