#8F7917#8F7917
#8F7917 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.112 H 95.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7917 |
|---|---|
| RGB | rgb(143, 121, 23) |
| HSL | hsl(49, 72%, 33%) |
| HSV | hsv(49, 84%, 56%) |
| CMYK | cmyk(0%, 15.4%, 83.9%, 43.9%) |
| CIE-LAB | lab(51.36, -1.50, 51.80) |
| CIE-LCH | lch(51.36, 51.82, 91.66°) |
| OKLab | oklab(58.02% -0.0102 0.1115) |
| OKLCH | oklch(58.02% 0.112 95.2) |
| XYZ | xyz(18.3208, 19.5773, 3.6243) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.30
Baby Poop
#937C00
ΔE00 2.13
Puke Brown
#947706
ΔE00 2.39
Poo
#8F7303
ΔE00 2.79
Yellowish Brown
#9B7A01
ΔE00 3.84
Diarrhea
#9F8303
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7917 #172D8F
analogous
#8F3D17 #8F7917 #698F17
triadic
#8F7917 #178F79 #79178F
tetradic
#8F7917 #178F3D #172D8F #8F1769
square
#8F7917 #178F3D #172D8F #8F1769
split-complementary
#8F7917 #17698F #3D178F
monochromatic
#262006 #5A4C0F #8F7917 #C4A61F #E0C340
Accessibility & contrast
On white
4.27
#8F7917 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8F7917 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7917
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7917 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7917 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#9B6F67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7917; /* rgb */ color: rgb(143, 121, 23); /* oklch */ color: oklch(58.0% 0.112 95.2);
Tailwind
colors: {
custom: {
50: '#b49f5f',
500: '#8f7917',
950: '#000000',
},
}SCSS
$custom: #8f7917; $custom-light: #b49f5f; $custom-dark: #000000;
JSON
{
"hex": "#8f7917",
"rgb": {
"r": 143,
"g": 121,
"b": 23
},
"hsl": {
"h": 49,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.5802,
"c": 0.11197,
"h": 95.2
},
"luminance": 0.19576
}Semantic roles & 50–950 ramp
primary
#8F7917
secondary
#4158C1
accent
#5AEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79