#8F7F16#8F7F16
#8F7F16 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.117 H 99.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7F16 |
|---|---|
| RGB | rgb(143, 127, 22) |
| HSL | hsl(52, 73%, 32%) |
| HSV | hsv(52, 85%, 56%) |
| CMYK | cmyk(0%, 11.2%, 84.6%, 43.9%) |
| CIE-LAB | lab(53.03, -4.88, 53.53) |
| CIE-LCH | lch(53.03, 53.76, 95.21°) |
| OKLab | oklab(59.35% -0.0199 0.1151) |
| OKLCH | oklch(59.35% 0.117 99.8) |
| XYZ | xyz(19.0629, 21.0773, 3.8231) |
| Luminance | 0.2108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.53
Hazel
#8E7618
ΔE00 4.07
Diarrhea
#9F8303
ΔE00 4.57
Puke Brown
#947706
ΔE00 4.69
Olive
#808000
ΔE00 4.97
Poo
#8F7303
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F16 #16268F
analogous
#8F4216 #8F7F16 #638F16
triadic
#8F7F16 #168F7F #7F168F
tetradic
#8F7F16 #168F42 #16268F #8F1663
square
#8F7F16 #168F42 #16268F #8F1663
split-complementary
#8F7F16 #16638F #42168F
monochromatic
#252106 #5A500E #8F7F16 #C4AE1E #E1CC3E
Accessibility & contrast
On white
4.03
#8F7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#8F7F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F16
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F16 | 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)
#91811F
Tritanopia (blue-blind)
#9B756C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f7f16; /* rgb */ color: rgb(143, 127, 22); /* oklch */ color: oklch(59.3% 0.117 99.8);
Tailwind
colors: {
custom: {
50: '#b4a35f',
500: '#8f7f16',
950: '#000000',
},
}SCSS
$custom: #8f7f16; $custom-light: #b4a35f; $custom-dark: #000000;
JSON
{
"hex": "#8f7f16",
"rgb": {
"r": 143,
"g": 127,
"b": 22
},
"hsl": {
"h": 52.066,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.59348,
"c": 0.11677,
"h": 99.8
},
"luminance": 0.21076
}Semantic roles & 50–950 ramp
primary
#8F7F16
secondary
#3F51C1
accent
#50F038
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79