#9BAC28#9BAC28
#9BAC28 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.150 H 117.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAC28 |
|---|---|
| RGB | rgb(155, 172, 40) |
| HSL | hsl(68, 62%, 42%) |
| HSV | hsv(68, 77%, 67%) |
| CMYK | cmyk(9.9%, 0%, 76.7%, 32.5%) |
| CIE-LAB | lab(67.00, -22.48, 60.87) |
| CIE-LCH | lch(67.00, 64.89, 110.27°) |
| OKLab | oklab(70.78% -0.068 0.1337) |
| OKLCH | oklch(70.78% 0.15 117) |
| XYZ | xyz(28.6538, 36.6272, 7.5674) |
| Luminance | 0.3663 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.92
Pea Soup Green
#94A617
ΔE00 2.00
Barf Green
#94AC02
ΔE00 2.11
Pea Green
#8EAB12
ΔE00 2.67
Sickly Green
#94B21C
ΔE00 2.85
Icky Green
#8FAE22
ΔE00 2.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAC28 #3928AC
analogous
#AC7B28 #9BAC28 #59AC28
triadic
#9BAC28 #289BAC #AC289B
tetradic
#9BAC28 #28AC7B #3928AC #AC2859
square
#9BAC28 #28AC7B #3928AC #AC2859
split-complementary
#9BAC28 #2859AC #7B28AC
monochromatic
#424911 #6E7A1C #9BAC28 #BFD23F #D0DE71
Accessibility & contrast
On white
2.52
#9BAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#9BAC28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAC28
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAC28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAC28 | 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)
#B8A304
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9bac28; /* rgb */ color: rgb(155, 172, 40); /* oklch */ color: oklch(70.8% 0.150 117.0);
Tailwind
colors: {
custom: {
50: '#bcc46d',
500: '#9bac28',
950: '#000000',
},
}SCSS
$custom: #9bac28; $custom-light: #bcc46d; $custom-dark: #000000;
JSON
{
"hex": "#9bac28",
"rgb": {
"r": 155,
"g": 172,
"b": 40
},
"hsl": {
"h": 67.727,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.7078,
"c": 0.14999,
"h": 117
},
"luminance": 0.36627
}Semantic roles & 50–950 ramp
primary
#9BAC28
secondary
#776BC5
accent
#42E557
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B