#9BAA2B#9BAA2B
#9BAA2B is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.146 H 116.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAA2B |
|---|---|
| RGB | rgb(155, 170, 43) |
| HSL | hsl(67, 60%, 42%) |
| HSV | hsv(67, 75%, 67%) |
| CMYK | cmyk(8.8%, 0%, 74.7%, 33.3%) |
| CIE-LAB | lab(66.44, -21.34, 59.35) |
| CIE-LCH | lch(66.44, 63.08, 109.78°) |
| OKLab | oklab(70.34% -0.0646 0.131) |
| OKLCH | oklch(70.34% 0.146 116.2) |
| XYZ | xyz(28.3291, 35.8928, 7.7207) |
| Luminance | 0.3589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.82
Puke Green
#9AAE07
ΔE00 2.47
Barf Green
#94AC02
ΔE00 2.58
Pea Green
#8EAB12
ΔE00 3.03
Icky Green
#8FAE22
ΔE00 3.32
Sickly Green
#94B21C
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAA2B #3A2BAA
analogous
#AA7A2B #9BAA2B #5BAA2B
triadic
#9BAA2B #2B9BAA #AA2B9B
tetradic
#9BAA2B #2BAA7A #3A2BAA #AA2B5B
square
#9BAA2B #2BAA7A #3A2BAA #AA2B5B
split-complementary
#9BAA2B #2B5BAA #7A2BAA
monochromatic
#424812 #6E791F #9BAA2B #BFCF43 #CFDC74
Accessibility & contrast
On white
2.57
#9BAA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#9BAA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAA2B
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAA2B | 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)
#B6A10F
Deuteranopia (green-blind)
#B5A236
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9baa2b; /* rgb */ color: rgb(155, 170, 43); /* oklch */ color: oklch(70.3% 0.146 116.2);
Tailwind
colors: {
custom: {
50: '#bcc36e',
500: '#9baa2b',
950: '#000000',
},
}SCSS
$custom: #9baa2b; $custom-light: #bcc36e; $custom-dark: #000000;
JSON
{
"hex": "#9baa2b",
"rgb": {
"r": 155,
"g": 170,
"b": 43
},
"hsl": {
"h": 67.087,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.70336,
"c": 0.14608,
"h": 116.2
},
"luminance": 0.35892
}Semantic roles & 50–950 ramp
primary
#9BAA2B
secondary
#786EC3
accent
#45E358
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B