#8D7E23#8D7E23
#8D7E23 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.109 H 99.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7E23 |
|---|---|
| RGB | rgb(141, 126, 35) |
| HSL | hsl(52, 60%, 35%) |
| HSV | hsv(52, 75%, 55%) |
| CMYK | cmyk(0%, 10.6%, 75.2%, 44.7%) |
| CIE-LAB | lab(52.63, -4.74, 48.67) |
| CIE-LCH | lch(52.63, 48.90, 95.57°) |
| OKLab | oklab(59% -0.0181 0.1074) |
| OKLCH | oklch(59% 0.109 99.6) |
| XYZ | xyz(18.7496, 20.7067, 4.5990) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.54
Hazel
#8E7618
ΔE00 3.84
Puke Brown
#947706
ΔE00 5.05
Olive
#808000
ΔE00 5.15
Poo
#8F7303
ΔE00 5.55
Ugly Brown
#7D7103
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7E23 #23328D
analogous
#8D4923 #8D7E23 #678D23
triadic
#8D7E23 #238D7E #7E238D
tetradic
#8D7E23 #238D49 #23328D #8D2367
square
#8D7E23 #238D49 #23328D #8D2367
split-complementary
#8D7E23 #23678D #49238D
monochromatic
#2B260B #5C5217 #8D7E23 #BEAA2F #D5C355
Accessibility & contrast
On white
4.08
#8D7E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#8D7E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7E23
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7E23 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A13
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7e23; /* rgb */ color: rgb(141, 126, 35); /* oklch */ color: oklch(59.0% 0.109 99.6);
Tailwind
colors: {
custom: {
50: '#b2a365',
500: '#8d7e23',
950: '#000000',
},
}SCSS
$custom: #8d7e23; $custom-light: #b2a365; $custom-dark: #000000;
JSON
{
"hex": "#8d7e23",
"rgb": {
"r": 141,
"g": 126,
"b": 35
},
"hsl": {
"h": 51.509,
"s": 60.227,
"l": 34.51
},
"oklch": {
"l": 0.59001,
"c": 0.10896,
"h": 99.6
},
"luminance": 0.20706
}Semantic roles & 50–950 ramp
primary
#8D7E23
secondary
#5361B9
accent
#5BE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A