#8E7D28#8E7D28
#8E7D28 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.105 H 97.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7D28 |
|---|---|
| RGB | rgb(142, 125, 40) |
| HSL | hsl(50, 56%, 36%) |
| HSV | hsv(50, 72%, 56%) |
| CMYK | cmyk(0%, 12%, 71.8%, 44.3%) |
| CIE-LAB | lab(52.48, -3.46, 46.52) |
| CIE-LCH | lch(52.48, 46.65, 94.26°) |
| OKLab | oklab(58.92% -0.014 0.1038) |
| OKLCH | oklch(58.92% 0.105 97.7) |
| XYZ | xyz(18.8729, 20.5722, 4.9838) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.33
Baby Poop
#937C00
ΔE00 3.70
Puke Brown
#947706
ΔE00 4.68
Poo
#8F7303
ΔE00 5.16
Diarrhea
#9F8303
ΔE00 5.68
Yellowish Brown
#9B7A01
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7D28 #28398E
analogous
#8E4A28 #8E7D28 #6C8E28
triadic
#8E7D28 #288E7D #7D288E
tetradic
#8E7D28 #288E4A #28398E #8E286C
square
#8E7D28 #288E4A #28398E #8E286C
split-complementary
#8E7D28 #286C8E #4A288E
monochromatic
#2F290D #5E531B #8E7D28 #BEA735 #D2BF5F
Accessibility & contrast
On white
4.11
#8E7D28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8E7D28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7D28
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7D28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7D28 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#99736C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8e7d28; /* rgb */ color: rgb(142, 125, 40); /* oklch */ color: oklch(58.9% 0.105 97.7);
Tailwind
colors: {
custom: {
50: '#b2a267',
500: '#8e7d28',
950: '#000000',
},
}SCSS
$custom: #8e7d28; $custom-light: #b2a267; $custom-dark: #000000;
JSON
{
"hex": "#8e7d28",
"rgb": {
"r": 142,
"g": 125,
"b": 40
},
"hsl": {
"h": 50,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.58917,
"c": 0.10477,
"h": 97.7
},
"luminance": 0.20571
}Semantic roles & 50–950 ramp
primary
#8E7D28
secondary
#5B6AB7
accent
#62DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A