#9BAB2E#9BAB2E
#9BAB2E is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.145 H 116.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB2E |
|---|---|
| RGB | rgb(155, 171, 46) |
| HSL | hsl(68, 58%, 43%) |
| HSV | hsv(68, 73%, 67%) |
| CMYK | cmyk(9.4%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(66.74, -21.70, 58.60) |
| CIE-LCH | lch(66.74, 62.49, 110.32°) |
| OKLab | oklab(70.59% -0.0653 0.13) |
| OKLCH | oklch(70.59% 0.145 116.7) |
| XYZ | xyz(28.5743, 36.2920, 8.0840) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.10
Puke Green
#9AAE07
ΔE00 2.56
Barf Green
#94AC02
ΔE00 2.65
Pea Green
#8EAB12
ΔE00 2.96
Icky Green
#8FAE22
ΔE00 3.09
Sickly Green
#94B21C
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB2E #3E2EAB
analogous
#AB7D2E #9BAB2E #5CAB2E
triadic
#9BAB2E #2E9BAB #AB2E9B
tetradic
#9BAB2E #2EAB7D #3E2EAB #AB2E5C
square
#9BAB2E #2EAB7D #3E2EAB #AB2E5C
split-complementary
#9BAB2E #2E5CAB #7D2EAB
monochromatic
#444B14 #6F7B21 #9BAB2E #BDCE48 #CEDB79
Accessibility & contrast
On white
2.54
#9BAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#9BAB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB2E
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB2E | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab2e; /* rgb */ color: rgb(155, 171, 46); /* oklch */ color: oklch(70.6% 0.145 116.7);
Tailwind
colors: {
custom: {
50: '#bcc370',
500: '#9bab2e',
950: '#000000',
},
}SCSS
$custom: #9bab2e; $custom-light: #bcc370; $custom-dark: #000000;
JSON
{
"hex": "#9bab2e",
"rgb": {
"r": 155,
"g": 171,
"b": 46
},
"hsl": {
"h": 67.68,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.70587,
"c": 0.14543,
"h": 116.7
},
"luminance": 0.36292
}Semantic roles & 50–950 ramp
primary
#9BAB2E
secondary
#7C72C3
accent
#47E15B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B