#9BAA21#9BAA21
#9BAA21 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.151 H 116.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAA21 |
|---|---|
| RGB | rgb(155, 170, 33) |
| HSL | hsl(67, 67%, 40%) |
| HSV | hsv(67, 81%, 67%) |
| CMYK | cmyk(8.8%, 0%, 80.6%, 33.3%) |
| CIE-LAB | lab(66.39, -21.77, 62.43) |
| CIE-LCH | lch(66.39, 66.11, 109.22°) |
| OKLab | oklab(70.28% -0.0666 0.1358) |
| OKLCH | oklch(70.28% 0.151 116.1) |
| XYZ | xyz(28.1676, 35.8282, 6.8702) |
| Luminance | 0.3583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.53
Puke Green
#9AAE07
ΔE00 1.83
Barf Green
#94AC02
ΔE00 2.09
Pea Green
#8EAB12
ΔE00 2.93
Sickly Green
#94B21C
ΔE00 3.43
Icky Green
#8FAE22
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAA21 #3021AA
analogous
#AA7421 #9BAA21 #57AA21
triadic
#9BAA21 #219BAA #AA219B
tetradic
#9BAA21 #21AA74 #3021AA #AA2157
square
#9BAA21 #21AA74 #3021AA #AA2157
split-complementary
#9BAA21 #2157AA #7421AA
monochromatic
#3E430D #6C7717 #9BAA21 #C5D731 #D3E164
Accessibility & contrast
On white
2.57
#9BAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#9BAA21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAA21
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAA21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAA21 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9baa21; /* rgb */ color: rgb(155, 170, 33); /* oklch */ color: oklch(70.3% 0.151 116.1);
Tailwind
colors: {
custom: {
50: '#bcc36a',
500: '#9baa21',
950: '#000000',
},
}SCSS
$custom: #9baa21; $custom-light: #bcc36a; $custom-dark: #000000;
JSON
{
"hex": "#9baa21",
"rgb": {
"r": 155,
"g": 170,
"b": 33
},
"hsl": {
"h": 66.569,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.70281,
"c": 0.15122,
"h": 116.1
},
"luminance": 0.35828
}Semantic roles & 50–950 ramp
primary
#9BAA21
secondary
#6C61C6
accent
#3DEA50
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A