#9BAB22#9BAB22
#9BAB22 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.152 H 116.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB22 |
|---|---|
| RGB | rgb(155, 171, 34) |
| HSL | hsl(67, 67%, 40%) |
| HSV | hsv(67, 80%, 67%) |
| CMYK | cmyk(9.4%, 0%, 80.1%, 32.9%) |
| CIE-LAB | lab(66.68, -22.23, 62.40) |
| CIE-LCH | lch(66.68, 66.24, 109.61°) |
| OKLab | oklab(70.52% -0.0678 0.1359) |
| OKLCH | oklch(70.52% 0.152 116.5) |
| XYZ | xyz(28.3700, 36.2103, 7.0078) |
| Luminance | 0.3621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.66
Pea Soup Green
#94A617
ΔE00 1.69
Barf Green
#94AC02
ΔE00 1.93
Pea Green
#8EAB12
ΔE00 2.76
Sickly Green
#94B21C
ΔE00 3.13
Icky Green
#8FAE22
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB22 #3222AB
analogous
#AB7622 #9BAB22 #57AB22
triadic
#9BAB22 #229BAB #AB229B
tetradic
#9BAB22 #22AB76 #3222AB #AB2257
square
#9BAB22 #22AB76 #3222AB #AB2257
split-complementary
#9BAB22 #2257AB #7622AB
monochromatic
#3E450E #6D7818 #9BAB22 #C4D734 #D2E167
Accessibility & contrast
On white
2.55
#9BAB22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#9BAB22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB22
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB22 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#A5A192
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab22; /* rgb */ color: rgb(155, 171, 34); /* oklch */ color: oklch(70.5% 0.152 116.5);
Tailwind
colors: {
custom: {
50: '#bcc36a',
500: '#9bab22',
950: '#000000',
},
}SCSS
$custom: #9bab22; $custom-light: #bcc36a; $custom-dark: #000000;
JSON
{
"hex": "#9bab22",
"rgb": {
"r": 155,
"g": 171,
"b": 34
},
"hsl": {
"h": 67.007,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.70517,
"c": 0.15186,
"h": 116.5
},
"luminance": 0.3621
}Semantic roles & 50–950 ramp
primary
#9BAB22
secondary
#6E63C6
accent
#3EEA52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A