#8F9221#8F9221
#8F9221 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.129 H 111.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8F9221 |
|---|---|
| RGB | rgb(143, 146, 33) |
| HSL | hsl(62, 63%, 35%) |
| HSV | hsv(62, 77%, 57%) |
| CMYK | cmyk(2.1%, 0%, 77.4%, 42.7%) |
| CIE-LAB | lab(58.52, -14.74, 54.98) |
| CIE-LCH | lch(58.52, 56.93, 105.01°) |
| OKLab | oklab(63.73% -0.0465 0.1204) |
| OKLCH | oklch(63.73% 0.129 111.1) |
| XYZ | xyz(21.8819, 26.5078, 5.4024) |
| Luminance | 0.2651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 2.83
Pea Soup
#929901
ΔE00 3.14
Baby Shit Green
#889717
ΔE00 3.15
Ugly Green
#7A9703
ΔE00 6.03
Vomit
#A2A415
ΔE00 6.30
Olive
#808000
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F9221 #242192
analogous
#925D21 #8F9221 #569221
triadic
#8F9221 #218F92 #92218F
tetradic
#8F9221 #21925D #242192 #922156
square
#8F9221 #21925D #242192 #922156
split-complementary
#8F9221 #215692 #5D2192
monochromatic
#2D2E0A #5E6016 #8F9221 #C0C42C #D5D955
Accessibility & contrast
On white
3.33
#8F9221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#8F9221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F9221
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F9221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F9221 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B04
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8f9221; /* rgb */ color: rgb(143, 146, 33); /* oklch */ color: oklch(63.7% 0.129 111.1);
Tailwind
colors: {
custom: {
50: '#b3b166',
500: '#8f9221',
950: '#000000',
},
}SCSS
$custom: #8f9221; $custom-light: #b3b166; $custom-dark: #000000;
JSON
{
"hex": "#8f9221",
"rgb": {
"r": 143,
"g": 146,
"b": 33
},
"hsl": {
"h": 61.593,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.63732,
"c": 0.12904,
"h": 111.1
},
"luminance": 0.26507
}Semantic roles & 50–950 ramp
primary
#8F9221
secondary
#5553BC
accent
#42E646
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A