#9AB221#9AB221
#9AB221 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.1% C 0.160 H 119.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9AB221 |
|---|---|
| RGB | rgb(154, 178, 33) |
| HSL | hsl(70, 69%, 41%) |
| HSV | hsv(70, 81%, 70%) |
| CMYK | cmyk(13.5%, 0%, 81.5%, 30.2%) |
| CIE-LAB | lab(68.62, -26.13, 64.37) |
| CIE-LCH | lch(68.62, 69.47, 112.10°) |
| OKLab | oklab(72.06% -0.0785 0.14) |
| OKLCH | oklch(72.06% 0.16 119.3) |
| XYZ | xyz(29.5220, 38.8208, 7.3765) |
| Luminance | 0.3882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.22
Booger Green
#96B403
ΔE00 1.55
Puke Green
#9AAE07
ΔE00 1.81
Barf Green
#94AC02
ΔE00 2.03
Sick Green
#9DB92C
ΔE00 2.03
Icky Green
#8FAE22
ΔE00 2.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AB221 #3921B2
analogous
#B28221 #9AB221 #52B221
triadic
#9AB221 #219AB2 #B2219A
tetradic
#9AB221 #21B282 #3921B2 #B22152
square
#9AB221 #21B282 #3921B2 #B22152
split-complementary
#9AB221 #2152B2 #8221B2
monochromatic
#414B0E #6D7E17 #9AB221 #BFDA36 #CFE36A
Accessibility & contrast
On white
2.40
#9AB221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#9AB221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AB221
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AB221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AB221 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#A4A898
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9ab221; /* rgb */ color: rgb(154, 178, 33); /* oklch */ color: oklch(72.1% 0.160 119.3);
Tailwind
colors: {
custom: {
50: '#bcc96b',
500: '#9ab221',
950: '#000000',
},
}SCSS
$custom: #9ab221; $custom-light: #bcc96b; $custom-dark: #000000;
JSON
{
"hex": "#9ab221",
"rgb": {
"r": 154,
"g": 178,
"b": 33
},
"hsl": {
"h": 69.931,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.72059,
"c": 0.16047,
"h": 119.3
},
"luminance": 0.38821
}Semantic roles & 50–950 ramp
primary
#9AB221
secondary
#7666C9
accent
#3CEC59
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A