#8D7E18#8D7E18
#8D7E18 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.115 H 100.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7E18 |
|---|---|
| RGB | rgb(141, 126, 24) |
| HSL | hsl(52, 71%, 32%) |
| HSV | hsv(52, 83%, 55%) |
| CMYK | cmyk(0%, 10.6%, 83%, 44.7%) |
| CIE-LAB | lab(52.57, -5.20, 52.46) |
| CIE-LCH | lch(52.57, 52.72, 95.66°) |
| OKLab | oklab(58.93% -0.0205 0.1133) |
| OKLCH | oklch(58.93% 0.115 100.2) |
| XYZ | xyz(18.6112, 20.6513, 3.8698) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.87
Hazel
#8E7618
ΔE00 3.93
Olive
#808000
ΔE00 4.69
Puke Brown
#947706
ΔE00 4.83
Diarrhea
#9F8303
ΔE00 5.14
Poo
#8F7303
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7E18 #18278D
analogous
#8D4418 #8D7E18 #618D18
triadic
#8D7E18 #188D7E #7E188D
tetradic
#8D7E18 #188D44 #18278D #8D1861
square
#8D7E18 #188D44 #18278D #8D1861
split-complementary
#8D7E18 #18618D #44188D
monochromatic
#242106 #594F0F #8D7E18 #C1AD21 #DFCA41
Accessibility & contrast
On white
4.09
#8D7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8D7E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7E18
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7E18 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#99746B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7e18; /* rgb */ color: rgb(141, 126, 24); /* oklch */ color: oklch(58.9% 0.115 100.2);
Tailwind
colors: {
custom: {
50: '#b2a360',
500: '#8d7e18',
950: '#000000',
},
}SCSS
$custom: #8d7e18; $custom-light: #b2a360; $custom-dark: #000000;
JSON
{
"hex": "#8d7e18",
"rgb": {
"r": 141,
"g": 126,
"b": 24
},
"hsl": {
"h": 52.308,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.58933,
"c": 0.1151,
"h": 100.2
},
"luminance": 0.2065
}Semantic roles & 50–950 ramp
primary
#8D7E18
secondary
#4252BF
accent
#51EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79