#9BA22A#9BA22A
#9BA22A is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.138 H 112.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA22A |
|---|---|
| RGB | rgb(155, 162, 42) |
| HSL | hsl(64, 59%, 40%) |
| HSV | hsv(64, 74%, 64%) |
| CMYK | cmyk(4.3%, 0%, 74.1%, 36.5%) |
| CIE-LAB | lab(64.14, -17.34, 57.52) |
| CIE-LCH | lch(64.14, 60.08, 106.77°) |
| OKLab | oklab(68.49% -0.0536 0.127) |
| OKLCH | oklch(68.49% 0.138 112.9) |
| XYZ | xyz(26.8567, 32.9770, 7.1405) |
| Luminance | 0.3298 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.59
Pea Soup Green
#94A617
ΔE00 2.79
Pea Soup
#929901
ΔE00 3.41
Baby Poop Green
#8F9805
ΔE00 3.66
Puke
#A5A502
ΔE00 3.71
Vomit Green
#89A203
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA22A #312AA2
analogous
#A26D2A #9BA22A #5FA22A
triadic
#9BA22A #2A9BA2 #A22A9B
tetradic
#9BA22A #2AA26D #312AA2 #A22A5F
square
#9BA22A #2AA26D #312AA2 #A22A5F
split-complementary
#9BA22A #2A5FA2 #6D2AA2
monochromatic
#3E4111 #6D711D #9BA22A #C4CD3D #D3D96D
Accessibility & contrast
On white
2.76
#9BA22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#9BA22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA22A
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA22A | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A11
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#A6988B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ba22a; /* rgb */ color: rgb(155, 162, 42); /* oklch */ color: oklch(68.5% 0.138 112.9);
Tailwind
colors: {
custom: {
50: '#bcbd6d',
500: '#9ba22a',
950: '#000000',
},
}SCSS
$custom: #9ba22a; $custom-light: #bcbd6d; $custom-dark: #000000;
JSON
{
"hex": "#9ba22a",
"rgb": {
"r": 155,
"g": 162,
"b": 42
},
"hsl": {
"h": 63.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.68493,
"c": 0.13781,
"h": 112.9
},
"luminance": 0.32976
}Semantic roles & 50–950 ramp
primary
#9BA22A
secondary
#6D68C0
accent
#46E24F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A