#9BAA2F#9BAA2F
#9BAA2F is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.144 H 116.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAA2F |
|---|---|
| RGB | rgb(155, 170, 47) |
| HSL | hsl(67, 57%, 43%) |
| HSV | hsv(67, 72%, 67%) |
| CMYK | cmyk(8.8%, 0%, 72.4%, 33.3%) |
| CIE-LAB | lab(66.46, -21.14, 57.97) |
| CIE-LCH | lch(66.46, 61.71, 110.04°) |
| OKLab | oklab(70.36% -0.0637 0.1288) |
| OKLCH | oklch(70.36% 0.144 116.3) |
| XYZ | xyz(28.4061, 35.9236, 8.1263) |
| Luminance | 0.3592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.06
Puke Green
#9AAE07
ΔE00 2.81
Barf Green
#94AC02
ΔE00 2.87
Pea Green
#8EAB12
ΔE00 3.16
Icky Green
#8FAE22
ΔE00 3.33
Sickly Green
#94B21C
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAA2F #3E2FAA
analogous
#AA7B2F #9BAA2F #5EAA2F
triadic
#9BAA2F #2F9BAA #AA2F9B
tetradic
#9BAA2F #2FAA7B #3E2FAA #AA2F5E
square
#9BAA2F #2FAA7B #3E2FAA #AA2F5E
split-complementary
#9BAA2F #2F5EAA #7B2FAA
monochromatic
#444A14 #6F7A22 #9BAA2F #BDCD49 #CEDA79
Accessibility & contrast
On white
2.57
#9BAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#9BAA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAA2F
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAA2F | 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)
#B6A118
Deuteranopia (green-blind)
#B5A239
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9baa2f; /* rgb */ color: rgb(155, 170, 47); /* oklch */ color: oklch(70.4% 0.144 116.3);
Tailwind
colors: {
custom: {
50: '#bcc370',
500: '#9baa2f',
950: '#000000',
},
}SCSS
$custom: #9baa2f; $custom-light: #bcc370; $custom-dark: #000000;
JSON
{
"hex": "#9baa2f",
"rgb": {
"r": 155,
"g": 170,
"b": 47
},
"hsl": {
"h": 67.317,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.70363,
"c": 0.14367,
"h": 116.3
},
"luminance": 0.35923
}Semantic roles & 50–950 ramp
primary
#9BAA2F
secondary
#7C72C2
accent
#48E05A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B