#8F7D17#8F7D17
#8F7D17 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.115 H 98.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D17 |
|---|---|
| RGB | rgb(143, 125, 23) |
| HSL | hsl(51, 72%, 33%) |
| HSV | hsv(51, 84%, 56%) |
| CMYK | cmyk(0%, 12.6%, 83.9%, 43.9%) |
| CIE-LAB | lab(52.48, -3.74, 52.76) |
| CIE-LCH | lch(52.48, 52.89, 94.05°) |
| OKLab | oklab(58.91% -0.0166 0.1136) |
| OKLCH | oklch(58.91% 0.115 98.3) |
| XYZ | xyz(18.8170, 20.5697, 3.7897) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.05
Hazel
#8E7618
ΔE00 3.14
Puke Brown
#947706
ΔE00 3.87
Diarrhea
#9F8303
ΔE00 4.53
Poo
#8F7303
ΔE00 4.53
Yellowish Brown
#9B7A01
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D17 #17298F
analogous
#8F4117 #8F7D17 #658F17
triadic
#8F7D17 #178F7D #7D178F
tetradic
#8F7D17 #178F41 #17298F #8F1765
square
#8F7D17 #178F41 #17298F #8F1765
split-complementary
#8F7D17 #17658F #41178F
monochromatic
#262106 #5A4F0F #8F7D17 #C4AB1F #E0C840
Accessibility & contrast
On white
4.11
#8F7D17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8F7D17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D17
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D17 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8F801F
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d17; /* rgb */ color: rgb(143, 125, 23); /* oklch */ color: oklch(58.9% 0.115 98.3);
Tailwind
colors: {
custom: {
50: '#b4a25f',
500: '#8f7d17',
950: '#000000',
},
}SCSS
$custom: #8f7d17; $custom-light: #b4a25f; $custom-dark: #000000;
JSON
{
"hex": "#8f7d17",
"rgb": {
"r": 143,
"g": 125,
"b": 23
},
"hsl": {
"h": 51,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.58906,
"c": 0.1148,
"h": 98.3
},
"luminance": 0.20569
}Semantic roles & 50–950 ramp
primary
#8F7D17
secondary
#4154C1
accent
#54EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79