#8F8721#8F8721
#8F8721 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.118 H 104.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8721 |
|---|---|
| RGB | rgb(143, 135, 33) |
| HSL | hsl(56, 63%, 35%) |
| HSV | hsv(56, 77%, 56%) |
| CMYK | cmyk(0%, 5.6%, 76.9%, 43.9%) |
| CIE-LAB | lab(55.36, -8.86, 52.07) |
| CIE-LCH | lch(55.36, 52.81, 99.66°) |
| OKLab | oklab(61.21% -0.0301 0.1142) |
| OKLCH | oklch(61.21% 0.118 104.8) |
| XYZ | xyz(20.2671, 23.2782, 4.8641) |
| Luminance | 0.2328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.17
Baby Poop
#937C00
ΔE00 5.79
Diarrhea
#9F8303
ΔE00 6.43
Shit Green
#758000
ΔE00 6.70
Baby Poop Green
#8F9805
ΔE00 6.96
Pea Soup
#929901
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8721 #21298F
analogous
#8F5021 #8F8721 #608F21
triadic
#8F8721 #218F87 #87218F
tetradic
#8F8721 #218F50 #21298F #8F2160
square
#8F8721 #218F50 #21298F #8F2160
split-complementary
#8F8721 #21608F #50218F
monochromatic
#2C290A #5D5816 #8F8721 #C1B62C #D7CE53
Accessibility & contrast
On white
3.71
#8F8721 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#8F8721 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8721
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8721 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8721 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93820B
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#9A7D74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8721; /* rgb */ color: rgb(143, 135, 33); /* oklch */ color: oklch(61.2% 0.118 104.8);
Tailwind
colors: {
custom: {
50: '#b3a965',
500: '#8f8721',
950: '#000000',
},
}SCSS
$custom: #8f8721; $custom-light: #b3a965; $custom-dark: #000000;
JSON
{
"hex": "#8f8721",
"rgb": {
"r": 143,
"g": 135,
"b": 33
},
"hsl": {
"h": 55.636,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.61212,
"c": 0.11805,
"h": 104.8
},
"luminance": 0.23277
}Semantic roles & 50–950 ramp
primary
#8F8721
secondary
#5159BB
accent
#4EE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A