#8D7C17#8D7C17
#8D7C17 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.114 H 98.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7C17 |
|---|---|
| RGB | rgb(141, 124, 23) |
| HSL | hsl(51, 72%, 32%) |
| HSV | hsv(51, 84%, 55%) |
| CMYK | cmyk(0%, 12.1%, 83.7%, 44.7%) |
| CIE-LAB | lab(52.00, -4.12, 52.27) |
| CIE-LCH | lch(52.00, 52.43, 94.50°) |
| OKLab | oklab(58.48% -0.0175 0.1126) |
| OKLCH | oklch(58.48% 0.114 98.8) |
| XYZ | xyz(18.3478, 20.1408, 3.7316) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.40
Hazel
#8E7618
ΔE00 3.04
Puke Brown
#947706
ΔE00 4.04
Poo
#8F7303
ΔE00 4.49
Ugly Brown
#7D7103
ΔE00 4.94
Diarrhea
#9F8303
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7C17 #17288D
analogous
#8D4117 #8D7C17 #638D17
triadic
#8D7C17 #178D7C #7C178D
tetradic
#8D7C17 #178D41 #17288D #8D1763
square
#8D7C17 #178D41 #17288D #8D1763
split-complementary
#8D7C17 #17638D #41178D
monochromatic
#241F06 #584E0E #8D7C17 #C2AA20 #E0C83F
Accessibility & contrast
On white
4.18
#8D7C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8D7C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7C17
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7C17 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8E7F1F
Tritanopia (blue-blind)
#99726A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d7c17; /* rgb */ color: rgb(141, 124, 23); /* oklch */ color: oklch(58.5% 0.114 98.8);
Tailwind
colors: {
custom: {
50: '#b2a15f',
500: '#8d7c17',
950: '#000000',
},
}SCSS
$custom: #8d7c17; $custom-light: #b2a15f; $custom-dark: #000000;
JSON
{
"hex": "#8d7c17",
"rgb": {
"r": 141,
"g": 124,
"b": 23
},
"hsl": {
"h": 51.356,
"s": 71.951,
"l": 32.157
},
"oklch": {
"l": 0.5848,
"c": 0.114,
"h": 98.8
},
"luminance": 0.2014
}Semantic roles & 50–950 ramp
primary
#8D7C17
secondary
#4052C0
accent
#53EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79