#9BAB2D#9BAB2D
#9BAB2D is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.146 H 116.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB2D |
|---|---|
| RGB | rgb(155, 171, 45) |
| HSL | hsl(68, 58%, 42%) |
| HSV | hsv(68, 74%, 67%) |
| CMYK | cmyk(9.4%, 0%, 73.7%, 32.9%) |
| CIE-LAB | lab(66.74, -21.75, 58.95) |
| CIE-LCH | lch(66.74, 62.83, 110.25°) |
| OKLab | oklab(70.58% -0.0655 0.1305) |
| OKLCH | oklch(70.58% 0.146 116.7) |
| XYZ | xyz(28.5548, 36.2842, 7.9814) |
| Luminance | 0.3628 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.04
Puke Green
#9AAE07
ΔE00 2.47
Barf Green
#94AC02
ΔE00 2.57
Pea Green
#8EAB12
ΔE00 2.92
Icky Green
#8FAE22
ΔE00 3.08
Sickly Green
#94B21C
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB2D #3D2DAB
analogous
#AB7C2D #9BAB2D #5CAB2D
triadic
#9BAB2D #2D9BAB #AB2D9B
tetradic
#9BAB2D #2DAB7C #3D2DAB #AB2D5C
square
#9BAB2D #2DAB7C #3D2DAB #AB2D5C
split-complementary
#9BAB2D #2D5CAB #7C2DAB
monochromatic
#434A14 #6F7B20 #9BAB2D #BDCE47 #CFDB77
Accessibility & contrast
On white
2.54
#9BAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#9BAB2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB2D
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB2D | 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)
#B7A213
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab2d; /* rgb */ color: rgb(155, 171, 45); /* oklch */ color: oklch(70.6% 0.146 116.7);
Tailwind
colors: {
custom: {
50: '#bcc36f',
500: '#9bab2d',
950: '#000000',
},
}SCSS
$custom: #9bab2d; $custom-light: #bcc36f; $custom-dark: #000000;
JSON
{
"hex": "#9bab2d",
"rgb": {
"r": 155,
"g": 171,
"b": 45
},
"hsl": {
"h": 67.619,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.7058,
"c": 0.14604,
"h": 116.7
},
"luminance": 0.36284
}Semantic roles & 50–950 ramp
primary
#9BAB2D
secondary
#7B71C3
accent
#46E25A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B