#9BAB2A#9BAB2A
#9BAB2A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.148 H 116.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB2A |
|---|---|
| RGB | rgb(155, 171, 42) |
| HSL | hsl(67, 61%, 42%) |
| HSV | hsv(67, 75%, 67%) |
| CMYK | cmyk(9.4%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(66.72, -21.89, 59.96) |
| CIE-LCH | lch(66.72, 63.83, 110.06°) |
| OKLab | oklab(70.56% -0.0662 0.1321) |
| OKLCH | oklch(70.56% 0.148 116.6) |
| XYZ | xyz(28.4991, 36.2619, 7.6880) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.90
Puke Green
#9AAE07
ΔE00 2.22
Barf Green
#94AC02
ΔE00 2.36
Pea Green
#8EAB12
ΔE00 2.84
Icky Green
#8FAE22
ΔE00 3.09
Sickly Green
#94B21C
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB2A #3A2AAB
analogous
#AB7B2A #9BAB2A #5BAB2A
triadic
#9BAB2A #2A9BAB #AB2A9B
tetradic
#9BAB2A #2AAB7B #3A2AAB #AB2A5B
square
#9BAB2A #2AAB7B #3A2AAB #AB2A5B
split-complementary
#9BAB2A #2A5BAB #7B2AAB
monochromatic
#424912 #6E7A1E #9BAB2A #BFD142 #CFDD73
Accessibility & contrast
On white
2.54
#9BAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#9BAB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB2A
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB2A | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20B
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab2a; /* rgb */ color: rgb(155, 171, 42); /* oklch */ color: oklch(70.6% 0.148 116.6);
Tailwind
colors: {
custom: {
50: '#bcc36e',
500: '#9bab2a',
950: '#000000',
},
}SCSS
$custom: #9bab2a; $custom-light: #bcc36e; $custom-dark: #000000;
JSON
{
"hex": "#9bab2a",
"rgb": {
"r": 155,
"g": 171,
"b": 42
},
"hsl": {
"h": 67.442,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.70561,
"c": 0.14777,
"h": 116.6
},
"luminance": 0.36262
}Semantic roles & 50–950 ramp
primary
#9BAB2A
secondary
#786DC4
accent
#44E458
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B