#8F8521#8F8521
#8F8521 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.116 H 103.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8521 |
|---|---|
| RGB | rgb(143, 133, 33) |
| HSL | hsl(55, 63%, 35%) |
| HSV | hsv(55, 77%, 56%) |
| CMYK | cmyk(0%, 7%, 76.9%, 43.9%) |
| CIE-LAB | lab(54.79, -7.77, 51.53) |
| CIE-LCH | lch(54.79, 52.12, 98.58°) |
| OKLab | oklab(60.76% -0.027 0.113) |
| OKLCH | oklch(60.76% 0.116 103.4) |
| XYZ | xyz(19.9906, 22.7253, 4.7720) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.19
Baby Poop
#937C00
ΔE00 5.04
Diarrhea
#9F8303
ΔE00 5.92
Hazel
#8E7618
ΔE00 6.56
Shit Green
#758000
ΔE00 6.92
Drab
#828344
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8521 #212B8F
analogous
#8F4E21 #8F8521 #628F21
triadic
#8F8521 #218F85 #85218F
tetradic
#8F8521 #218F4E #212B8F #8F2162
square
#8F8521 #218F4E #212B8F #8F2162
split-complementary
#8F8521 #21628F #4E218F
monochromatic
#2C290A #5D5716 #8F8521 #C1B32C #D7CB53
Accessibility & contrast
On white
3.79
#8F8521 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#8F8521 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8521
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8521 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8521 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92800C
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8521; /* rgb */ color: rgb(143, 133, 33); /* oklch */ color: oklch(60.8% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b3a865',
500: '#8f8521',
950: '#000000',
},
}SCSS
$custom: #8f8521; $custom-light: #b3a865; $custom-dark: #000000;
JSON
{
"hex": "#8f8521",
"rgb": {
"r": 143,
"g": 133,
"b": 33
},
"hsl": {
"h": 54.545,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.60759,
"c": 0.11621,
"h": 103.4
},
"luminance": 0.22725
}Semantic roles & 50–950 ramp
primary
#8F8521
secondary
#515BBB
accent
#51E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A