#8F7F18#8F7F18
#8F7F18 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 | #8F7F18 |
|---|---|
| RGB | rgb(143, 127, 24) |
| HSL | hsl(52, 71%, 33%) |
| HSV | hsv(52, 83%, 56%) |
| CMYK | cmyk(0%, 11.2%, 83.2%, 43.9%) |
| CIE-LAB | lab(53.04, -4.82, 52.95) |
| CIE-LCH | lch(53.04, 53.17, 95.20°) |
| OKLab | oklab(59.36% -0.0195 0.1142) |
| OKLCH | oklch(59.36% 0.116 99.7) |
| XYZ | xyz(19.0829, 21.0853, 3.9287) |
| Luminance | 0.2108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.61
Hazel
#8E7618
ΔE00 4.03
Diarrhea
#9F8303
ΔE00 4.62
Puke Brown
#947706
ΔE00 4.70
Olive
#808000
ΔE00 5.01
Poo
#8F7303
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F18 #18288F
analogous
#8F4418 #8F7F18 #638F18
triadic
#8F7F18 #188F7F #7F188F
tetradic
#8F7F18 #188F44 #18288F #8F1863
square
#8F7F18 #188F44 #18288F #8F1863
split-complementary
#8F7F18 #18638F #44188F
monochromatic
#262206 #5B500F #8F7F18 #C3AE21 #DFCA42
Accessibility & contrast
On white
4.03
#8F7F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#8F7F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F18
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F18 | 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: #8f7f18; /* rgb */ color: rgb(143, 127, 24); /* oklch */ color: oklch(59.4% 0.116 99.7);
Tailwind
colors: {
custom: {
50: '#b4a360',
500: '#8f7f18',
950: '#000000',
},
}SCSS
$custom: #8f7f18; $custom-light: #b4a360; $custom-dark: #000000;
JSON
{
"hex": "#8f7f18",
"rgb": {
"r": 143,
"g": 127,
"b": 24
},
"hsl": {
"h": 51.933,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.59357,
"c": 0.11588,
"h": 99.7
},
"luminance": 0.21084
}Semantic roles & 50–950 ramp
primary
#8F7F18
secondary
#4354C0
accent
#52EE3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79