#9BA22E#9BA22E
#9BA22E is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.135 H 112.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA22E |
|---|---|
| RGB | rgb(155, 162, 46) |
| HSL | hsl(64, 56%, 41%) |
| HSV | hsv(64, 72%, 64%) |
| CMYK | cmyk(4.3%, 0%, 71.6%, 36.5%) |
| CIE-LAB | lab(64.17, -17.14, 56.10) |
| CIE-LCH | lch(64.17, 58.66, 106.99°) |
| OKLab | oklab(68.52% -0.0526 0.1247) |
| OKLCH | oklch(68.52% 0.135 112.9) |
| XYZ | xyz(26.9319, 33.0071, 7.5365) |
| Luminance | 0.3301 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.92
Pea Soup Green
#94A617
ΔE00 2.97
Pea Soup
#929901
ΔE00 3.64
Baby Poop Green
#8F9805
ΔE00 3.85
Puke
#A5A502
ΔE00 4.05
Vomit Green
#89A203
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA22E #352EA2
analogous
#A26F2E #9BA22E #61A22E
triadic
#9BA22E #2E9BA2 #A22E9B
tetradic
#9BA22E #2EA26F #352EA2 #A22E61
square
#9BA22E #2EA26F #352EA2 #A22E61
split-complementary
#9BA22E #2E61A2 #6F2EA2
monochromatic
#404313 #6D7220 #9BA22E #C2CA43 #D1D773
Accessibility & contrast
On white
2.76
#9BA22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#9BA22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA22E
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA22E | 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)
#AE9A1A
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#A6988B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ba22e; /* rgb */ color: rgb(155, 162, 46); /* oklch */ color: oklch(68.5% 0.135 112.9);
Tailwind
colors: {
custom: {
50: '#bcbd6f',
500: '#9ba22e',
950: '#000000',
},
}SCSS
$custom: #9ba22e; $custom-light: #bcbd6f; $custom-dark: #000000;
JSON
{
"hex": "#9ba22e",
"rgb": {
"r": 155,
"g": 162,
"b": 46
},
"hsl": {
"h": 63.621,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.68521,
"c": 0.13533,
"h": 112.9
},
"luminance": 0.33006
}Semantic roles & 50–950 ramp
primary
#9BA22E
secondary
#726DBF
accent
#49DF52
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B