#8F8221#8F8221
#8F8221 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.114 H 101.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8221 |
|---|---|
| RGB | rgb(143, 130, 33) |
| HSL | hsl(53, 63%, 35%) |
| HSV | hsv(53, 77%, 56%) |
| CMYK | cmyk(0%, 9.1%, 76.9%, 43.9%) |
| CIE-LAB | lab(53.94, -6.13, 50.74) |
| CIE-LCH | lch(53.94, 51.11, 96.88°) |
| OKLab | oklab(60.08% -0.0224 0.1113) |
| OKLCH | oklch(60.08% 0.114 101.4) |
| XYZ | xyz(19.5858, 21.9156, 4.6370) |
| Luminance | 0.2192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.98
Olive
#808000
ΔE00 4.58
Hazel
#8E7618
ΔE00 5.25
Diarrhea
#9F8303
ΔE00 5.31
Puke Brown
#947706
ΔE00 6.04
Yellowish Brown
#9B7A01
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8221 #212E8F
analogous
#8F4B21 #8F8221 #658F21
triadic
#8F8221 #218F82 #82218F
tetradic
#8F8221 #218F4B #212E8F #8F2165
square
#8F8221 #218F4B #212E8F #8F2165
split-complementary
#8F8221 #21658F #4B218F
monochromatic
#2C280A #5D5516 #8F8221 #C1AF2C #D7C853
Accessibility & contrast
On white
3.90
#8F8221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#8F8221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8221
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8221 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#9A786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8f8221; /* rgb */ color: rgb(143, 130, 33); /* oklch */ color: oklch(60.1% 0.114 101.4);
Tailwind
colors: {
custom: {
50: '#b3a664',
500: '#8f8221',
950: '#000000',
},
}SCSS
$custom: #8f8221; $custom-light: #b3a664; $custom-dark: #000000;
JSON
{
"hex": "#8f8221",
"rgb": {
"r": 143,
"g": 130,
"b": 33
},
"hsl": {
"h": 52.909,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.60083,
"c": 0.11356,
"h": 101.4
},
"luminance": 0.21915
}Semantic roles & 50–950 ramp
primary
#8F8221
secondary
#515DBB
accent
#56E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A