#8F7F17#8F7F17
#8F7F17 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.116 H 99.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7F17 |
|---|---|
| RGB | rgb(143, 127, 23) |
| HSL | hsl(52, 72%, 33%) |
| HSV | hsv(52, 84%, 56%) |
| CMYK | cmyk(0%, 11.2%, 83.9%, 43.9%) |
| CIE-LAB | lab(53.04, -4.85, 53.25) |
| CIE-LCH | lch(53.04, 53.47, 95.21°) |
| OKLab | oklab(59.35% -0.0197 0.1147) |
| OKLCH | oklch(59.35% 0.116 99.7) |
| XYZ | xyz(19.0727, 21.0812, 3.8749) |
| Luminance | 0.2108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.57
Hazel
#8E7618
ΔE00 4.05
Diarrhea
#9F8303
ΔE00 4.59
Puke Brown
#947706
ΔE00 4.69
Olive
#808000
ΔE00 4.99
Poo
#8F7303
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F17 #17278F
analogous
#8F4317 #8F7F17 #638F17
triadic
#8F7F17 #178F7F #7F178F
tetradic
#8F7F17 #178F43 #17278F #8F1763
square
#8F7F17 #178F43 #17278F #8F1763
split-complementary
#8F7F17 #17638F #43178F
monochromatic
#262106 #5A500F #8F7F17 #C4AE1F #E0CB40
Accessibility & contrast
On white
4.03
#8F7F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#8F7F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F17
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F17 | 1.00 | 4.03 | 5.22 | 5.22 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#9B756C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f7f17; /* rgb */ color: rgb(143, 127, 23); /* oklch */ color: oklch(59.4% 0.116 99.7);
Tailwind
colors: {
custom: {
50: '#b4a35f',
500: '#8f7f17',
950: '#000000',
},
}SCSS
$custom: #8f7f17; $custom-light: #b4a35f; $custom-dark: #000000;
JSON
{
"hex": "#8f7f17",
"rgb": {
"r": 143,
"g": 127,
"b": 23
},
"hsl": {
"h": 52,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.59352,
"c": 0.11633,
"h": 99.7
},
"luminance": 0.2108
}Semantic roles & 50–950 ramp
primary
#8F7F17
secondary
#4152C1
accent
#51EF39
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79