#8D7D23#8D7D23
#8D7D23 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.108 H 98.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D23 |
|---|---|
| RGB | rgb(141, 125, 35) |
| HSL | hsl(51, 60%, 35%) |
| HSV | hsv(51, 75%, 55%) |
| CMYK | cmyk(0%, 11.3%, 75.2%, 44.7%) |
| CIE-LAB | lab(52.34, -4.19, 48.40) |
| CIE-LCH | lch(52.34, 48.58, 94.94°) |
| OKLab | oklab(58.78% -0.0165 0.1069) |
| OKLCH | oklch(58.78% 0.108 98.8) |
| XYZ | xyz(18.6224, 20.4522, 4.5566) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.39
Hazel
#8E7618
ΔE00 3.40
Puke Brown
#947706
ΔE00 4.69
Poo
#8F7303
ΔE00 5.14
Ugly Brown
#7D7103
ΔE00 5.38
Olive
#808000
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D23 #23338D
analogous
#8D4823 #8D7D23 #688D23
triadic
#8D7D23 #238D7D #7D238D
tetradic
#8D7D23 #238D48 #23338D #8D2368
square
#8D7D23 #238D48 #23338D #8D2368
split-complementary
#8D7D23 #23688D #48238D
monochromatic
#2B260B #5C5217 #8D7D23 #BEA82F #D5C255
Accessibility & contrast
On white
4.13
#8D7D23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#8D7D23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D23
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D23 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d23; /* rgb */ color: rgb(141, 125, 35); /* oklch */ color: oklch(58.8% 0.108 98.8);
Tailwind
colors: {
custom: {
50: '#b2a265',
500: '#8d7d23',
950: '#000000',
},
}SCSS
$custom: #8d7d23; $custom-light: #b2a265; $custom-dark: #000000;
JSON
{
"hex": "#8d7d23",
"rgb": {
"r": 141,
"g": 125,
"b": 35
},
"hsl": {
"h": 50.943,
"s": 60.227,
"l": 34.51
},
"oklch": {
"l": 0.58777,
"c": 0.10813,
"h": 98.8
},
"luminance": 0.20451
}Semantic roles & 50–950 ramp
primary
#8D7D23
secondary
#5362B9
accent
#5CE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A