#8F8616#8F8616
#8F8616 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.123 H 104.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8616 |
|---|---|
| RGB | rgb(143, 134, 22) |
| HSL | hsl(56, 73%, 32%) |
| HSV | hsv(56, 85%, 56%) |
| CMYK | cmyk(0%, 6.3%, 84.6%, 43.9%) |
| CIE-LAB | lab(55.02, -8.73, 55.22) |
| CIE-LCH | lch(55.02, 55.91, 98.98°) |
| OKLab | oklab(60.93% -0.0306 0.1188) |
| OKLCH | oklch(60.93% 0.123 104.5) |
| XYZ | xyz(19.9985, 22.9486, 4.1350) |
| Luminance | 0.2295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.91
Baby Poop
#937C00
ΔE00 5.19
Diarrhea
#9F8303
ΔE00 5.92
Shit Green
#758000
ΔE00 6.73
Baby Poop Green
#8F9805
ΔE00 7.11
Hazel
#8E7618
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8616 #161F8F
analogous
#8F4916 #8F8616 #5C8F16
triadic
#8F8616 #168F86 #86168F
tetradic
#8F8616 #168F49 #161F8F #8F165C
square
#8F8616 #168F49 #161F8F #8F165C
split-complementary
#8F8616 #165C8F #49168F
monochromatic
#252306 #5A540E #8F8616 #C4B81E #E1D53E
Accessibility & contrast
On white
3.76
#8F8616 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#8F8616 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8616
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8616 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8616 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#9A7C72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f8616; /* rgb */ color: rgb(143, 134, 22); /* oklch */ color: oklch(60.9% 0.123 104.5);
Tailwind
colors: {
custom: {
50: '#b4a860',
500: '#8f8616',
950: '#000000',
},
}SCSS
$custom: #8f8616; $custom-light: #b4a860; $custom-dark: #000000;
JSON
{
"hex": "#8f8616",
"rgb": {
"r": 143,
"g": 134,
"b": 22
},
"hsl": {
"h": 55.537,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.60926,
"c": 0.12264,
"h": 104.5
},
"luminance": 0.22948
}Semantic roles & 50–950 ramp
primary
#8F8616
secondary
#3F49C1
accent
#45F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A