#8F8621#8F8621
#8F8621 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.117 H 104.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8621 |
|---|---|
| RGB | rgb(143, 134, 33) |
| HSL | hsl(55, 63%, 35%) |
| HSV | hsv(55, 77%, 56%) |
| CMYK | cmyk(0%, 6.3%, 76.9%, 43.9%) |
| CIE-LAB | lab(55.07, -8.32, 51.80) |
| CIE-LCH | lch(55.07, 52.46, 99.12°) |
| OKLab | oklab(60.99% -0.0285 0.1136) |
| OKLCH | oklch(60.99% 0.117 104.1) |
| XYZ | xyz(20.1282, 23.0005, 4.8178) |
| Luminance | 0.2300 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.16
Baby Poop
#937C00
ΔE00 5.41
Diarrhea
#9F8303
ΔE00 6.17
Shit Green
#758000
ΔE00 6.79
Hazel
#8E7618
ΔE00 6.99
Drab
#828344
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8621 #212A8F
analogous
#8F4F21 #8F8621 #618F21
triadic
#8F8621 #218F86 #86218F
tetradic
#8F8621 #218F4F #212A8F #8F2161
square
#8F8621 #218F4F #212A8F #8F2161
split-complementary
#8F8621 #21618F #4F218F
monochromatic
#2C290A #5D5716 #8F8621 #C1B52C #D7CD53
Accessibility & contrast
On white
3.75
#8F8621 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#8F8621 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8621
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8621 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8621 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93810B
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f8621; /* rgb */ color: rgb(143, 134, 33); /* oklch */ color: oklch(61.0% 0.117 104.1);
Tailwind
colors: {
custom: {
50: '#b3a865',
500: '#8f8621',
950: '#000000',
},
}SCSS
$custom: #8f8621; $custom-light: #b3a865; $custom-dark: #000000;
JSON
{
"hex": "#8f8621",
"rgb": {
"r": 143,
"g": 134,
"b": 33
},
"hsl": {
"h": 55.091,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.60985,
"c": 0.11713,
"h": 104.1
},
"luminance": 0.23
}Semantic roles & 50–950 ramp
primary
#8F8621
secondary
#515ABB
accent
#50E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A