#8F8216#8F8216
#8F8216 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.119 H 101.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8216 |
|---|---|
| RGB | rgb(143, 130, 22) |
| HSL | hsl(54, 73%, 32%) |
| HSV | hsv(54, 85%, 56%) |
| CMYK | cmyk(0%, 9.1%, 84.6%, 43.9%) |
| CIE-LAB | lab(53.88, -6.54, 54.26) |
| CIE-LCH | lch(53.88, 54.65, 96.87°) |
| OKLab | oklab(60.02% -0.0245 0.1167) |
| OKLCH | oklch(60.02% 0.119 101.9) |
| XYZ | xyz(19.4561, 21.8637, 3.9542) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.61
Olive
#808000
ΔE00 4.27
Diarrhea
#9F8303
ΔE00 4.98
Hazel
#8E7618
ΔE00 5.40
Puke Brown
#947706
ΔE00 5.96
Yellowish Brown
#9B7A01
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8216 #16238F
analogous
#8F4616 #8F8216 #5F8F16
triadic
#8F8216 #168F82 #82168F
tetradic
#8F8216 #168F46 #16238F #8F165F
square
#8F8216 #168F46 #16238F #8F165F
split-complementary
#8F8216 #165F8F #46168F
monochromatic
#252206 #5A520E #8F8216 #C4B21E #E1D03E
Accessibility & contrast
On white
3.91
#8F8216 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8F8216 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8216
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8216 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8216 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#938320
Tritanopia (blue-blind)
#9B786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8f8216; /* rgb */ color: rgb(143, 130, 22); /* oklch */ color: oklch(60.0% 0.119 101.9);
Tailwind
colors: {
custom: {
50: '#b4a55f',
500: '#8f8216',
950: '#000000',
},
}SCSS
$custom: #8f8216; $custom-light: #b4a55f; $custom-dark: #000000;
JSON
{
"hex": "#8f8216",
"rgb": {
"r": 143,
"g": 130,
"b": 22
},
"hsl": {
"h": 53.554,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.60021,
"c": 0.1192,
"h": 101.9
},
"luminance": 0.21863
}Semantic roles & 50–950 ramp
primary
#8F8216
secondary
#3F4DC1
accent
#4CF038
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79