#9BAC2C#9BAC2C
#9BAC2C is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.148 H 117.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAC2C |
|---|---|
| RGB | rgb(155, 172, 44) |
| HSL | hsl(68, 59%, 42%) |
| HSV | hsv(68, 74%, 67%) |
| CMYK | cmyk(9.9%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(67.02, -22.29, 59.56) |
| CIE-LCH | lch(67.02, 63.60, 110.52°) |
| OKLab | oklab(70.8% -0.0671 0.1316) |
| OKLCH | oklch(70.8% 0.148 117) |
| XYZ | xyz(28.7254, 36.6558, 7.9444) |
| Luminance | 0.3665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.15
Puke Green
#9AAE07
ΔE00 2.26
Barf Green
#94AC02
ΔE00 2.38
Pea Green
#8EAB12
ΔE00 2.76
Icky Green
#8FAE22
ΔE00 2.87
Sickly Green
#94B21C
ΔE00 2.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAC2C #3D2CAC
analogous
#AC7D2C #9BAC2C #5BAC2C
triadic
#9BAC2C #2C9BAC #AC2C9B
tetradic
#9BAC2C #2CAC7D #3D2CAC #AC2C5B
square
#9BAC2C #2CAC7D #3D2CAC #AC2C5B
split-complementary
#9BAC2C #2C5BAC #7D2CAC
monochromatic
#434B13 #6F7B20 #9BAC2C #BDD046 #CFDC76
Accessibility & contrast
On white
2.52
#9BAC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#9BAC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAC2C
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAC2C | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A310
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#A5A294
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9bac2c; /* rgb */ color: rgb(155, 172, 44); /* oklch */ color: oklch(70.8% 0.148 117.0);
Tailwind
colors: {
custom: {
50: '#bcc46f',
500: '#9bac2c',
950: '#000000',
},
}SCSS
$custom: #9bac2c; $custom-light: #bcc46f; $custom-dark: #000000;
JSON
{
"hex": "#9bac2c",
"rgb": {
"r": 155,
"g": 172,
"b": 44
},
"hsl": {
"h": 67.969,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.70804,
"c": 0.14776,
"h": 117
},
"luminance": 0.36655
}Semantic roles & 50–950 ramp
primary
#9BAC2C
secondary
#7B70C4
accent
#45E25A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B