#9BAA2A#9BAA2A
#9BAA2A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.147 H 116.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAA2A |
|---|---|
| RGB | rgb(155, 170, 42) |
| HSL | hsl(67, 60%, 42%) |
| HSV | hsv(67, 75%, 67%) |
| CMYK | cmyk(8.8%, 0%, 75.3%, 33.3%) |
| CIE-LAB | lab(66.43, -21.39, 59.69) |
| CIE-LCH | lch(66.43, 63.40, 109.72°) |
| OKLab | oklab(70.33% -0.0648 0.1316) |
| OKLCH | oklch(70.33% 0.147 116.2) |
| XYZ | xyz(28.3110, 35.8856, 7.6253) |
| Luminance | 0.3589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.77
Puke Green
#9AAE07
ΔE00 2.40
Barf Green
#94AC02
ΔE00 2.52
Pea Green
#8EAB12
ΔE00 3.01
Icky Green
#8FAE22
ΔE00 3.33
Sickly Green
#94B21C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAA2A #392AAA
analogous
#AA792A #9BAA2A #5BAA2A
triadic
#9BAA2A #2A9BAA #AA2A9B
tetradic
#9BAA2A #2AAA79 #392AAA #AA2A5B
square
#9BAA2A #2AAA79 #392AAA #AA2A5B
split-complementary
#9BAA2A #2A5BAA #792AAA
monochromatic
#424812 #6E791E #9BAA2A #BFD041 #D0DC72
Accessibility & contrast
On white
2.57
#9BAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#9BAA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAA2A
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAA2A | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10C
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9baa2a; /* rgb */ color: rgb(155, 170, 42); /* oklch */ color: oklch(70.3% 0.147 116.2);
Tailwind
colors: {
custom: {
50: '#bcc36e',
500: '#9baa2a',
950: '#000000',
},
}SCSS
$custom: #9baa2a; $custom-light: #bcc36e; $custom-dark: #000000;
JSON
{
"hex": "#9baa2a",
"rgb": {
"r": 155,
"g": 170,
"b": 42
},
"hsl": {
"h": 67.031,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.7033,
"c": 0.14665,
"h": 116.2
},
"luminance": 0.35885
}Semantic roles & 50–950 ramp
primary
#9BAA2A
secondary
#776CC3
accent
#44E457
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B