#9BAE21#9BAE21
#9BAE21 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.2% C 0.156 H 117.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAE21 |
|---|---|
| RGB | rgb(155, 174, 33) |
| HSL | hsl(68, 68%, 41%) |
| HSV | hsv(68, 81%, 68%) |
| CMYK | cmyk(10.9%, 0%, 81%, 31.8%) |
| CIE-LAB | lab(67.54, -23.75, 63.44) |
| CIE-LCH | lch(67.54, 67.74, 110.53°) |
| OKLab | oklab(71.21% -0.072 0.138) |
| OKLCH | oklch(71.21% 0.156 117.6) |
| XYZ | xyz(28.9289, 37.3508, 7.1240) |
| Luminance | 0.3735 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.22
Barf Green
#94AC02
ΔE00 1.62
Sickly Green
#94B21C
ΔE00 2.28
Pea Soup Green
#94A617
ΔE00 2.35
Pea Green
#8EAB12
ΔE00 2.48
Booger Green
#96B403
ΔE00 2.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAE21 #3421AE
analogous
#AE7A21 #9BAE21 #54AE21
triadic
#9BAE21 #219BAE #AE219B
tetradic
#9BAE21 #21AE7A #3421AE #AE2154
square
#9BAE21 #21AE7A #3421AE #AE2154
split-complementary
#9BAE21 #2154AE #7A21AE
monochromatic
#3F470D #6D7B17 #9BAE21 #C2D834 #D2E267
Accessibility & contrast
On white
2.48
#9BAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#9BAE21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAE21
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAE21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAE21 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#A5A495
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #9bae21; /* rgb */ color: rgb(155, 174, 33); /* oklch */ color: oklch(71.2% 0.156 117.6);
Tailwind
colors: {
custom: {
50: '#bcc66a',
500: '#9bae21',
950: '#000000',
},
}SCSS
$custom: #9bae21; $custom-light: #bcc66a; $custom-dark: #000000;
JSON
{
"hex": "#9bae21",
"rgb": {
"r": 155,
"g": 174,
"b": 33
},
"hsl": {
"h": 68.085,
"s": 68.116,
"l": 40.588
},
"oklch": {
"l": 0.71206,
"c": 0.15562,
"h": 117.6
},
"luminance": 0.3735
}Semantic roles & 50–950 ramp
primary
#9BAE21
secondary
#7163C8
accent
#3DEB54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A