#8D7F23#8D7F23
#8D7F23 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.110 H 100.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F23 |
|---|---|
| RGB | rgb(141, 127, 35) |
| HSL | hsl(52, 60%, 35%) |
| HSV | hsv(52, 75%, 55%) |
| CMYK | cmyk(0%, 9.9%, 75.2%, 44.7%) |
| CIE-LAB | lab(52.91, -5.30, 48.94) |
| CIE-LCH | lch(52.91, 49.23, 96.18°) |
| OKLab | oklab(59.23% -0.0197 0.108) |
| OKLCH | oklch(59.23% 0.11 100.3) |
| XYZ | xyz(18.8781, 20.9637, 4.6418) |
| Luminance | 0.2096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.74
Hazel
#8E7618
ΔE00 4.28
Olive
#808000
ΔE00 4.85
Puke Brown
#947706
ΔE00 5.42
Diarrhea
#9F8303
ΔE00 5.64
Ugly Brown
#7D7103
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F23 #23318D
analogous
#8D4A23 #8D7F23 #668D23
triadic
#8D7F23 #238D7F #7F238D
tetradic
#8D7F23 #238D4A #23318D #8D2366
square
#8D7F23 #238D4A #23318D #8D2366
split-complementary
#8D7F23 #23668D #4A238D
monochromatic
#2B270B #5C5317 #8D7F23 #BEAB2F #D5C455
Accessibility & contrast
On white
4.04
#8D7F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8D7F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F23
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F23 | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B13
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f23; /* rgb */ color: rgb(141, 127, 35); /* oklch */ color: oklch(59.2% 0.110 100.3);
Tailwind
colors: {
custom: {
50: '#b2a365',
500: '#8d7f23',
950: '#000000',
},
}SCSS
$custom: #8d7f23; $custom-light: #b2a365; $custom-dark: #000000;
JSON
{
"hex": "#8d7f23",
"rgb": {
"r": 141,
"g": 127,
"b": 35
},
"hsl": {
"h": 52.075,
"s": 60.227,
"l": 34.51
},
"oklch": {
"l": 0.59225,
"c": 0.10979,
"h": 100.3
},
"luminance": 0.20963
}Semantic roles & 50–950 ramp
primary
#8D7F23
secondary
#5360B9
accent
#59E344
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A