#9CAC28#9CAC28
#9CAC28 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.150 H 116.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9CAC28 |
|---|---|
| RGB | rgb(156, 172, 40) |
| HSL | hsl(67, 62%, 42%) |
| HSV | hsv(67, 77%, 67%) |
| CMYK | cmyk(9.3%, 0%, 76.7%, 32.5%) |
| CIE-LAB | lab(67.07, -22.05, 60.96) |
| CIE-LCH | lch(67.07, 64.83, 109.89°) |
| OKLab | oklab(70.86% -0.0669 0.1339) |
| OKLCH | oklch(70.86% 0.15 116.5) |
| XYZ | xyz(28.8466, 36.7266, 7.5764) |
| Luminance | 0.3673 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.91
Pea Soup Green
#94A617
ΔE00 2.06
Barf Green
#94AC02
ΔE00 2.22
Pea Green
#8EAB12
ΔE00 2.88
Sickly Green
#94B21C
ΔE00 3.02
Icky Green
#8FAE22
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CAC28 #3828AC
analogous
#AC7A28 #9CAC28 #5AAC28
triadic
#9CAC28 #289CAC #AC289C
tetradic
#9CAC28 #28AC7A #3828AC #AC285A
square
#9CAC28 #28AC7A #3828AC #AC285A
split-complementary
#9CAC28 #285AAC #7A28AC
monochromatic
#424911 #6F7A1C #9CAC28 #C0D23F #D1DE71
Accessibility & contrast
On white
2.52
#9CAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#9CAC28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CAC28
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CAC28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CAC28 | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A304
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#A6A293
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9cac28; /* rgb */ color: rgb(156, 172, 40); /* oklch */ color: oklch(70.9% 0.150 116.5);
Tailwind
colors: {
custom: {
50: '#bdc46d',
500: '#9cac28',
950: '#000000',
},
}SCSS
$custom: #9cac28; $custom-light: #bdc46d; $custom-dark: #000000;
JSON
{
"hex": "#9cac28",
"rgb": {
"r": 156,
"g": 172,
"b": 40
},
"hsl": {
"h": 67.273,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.70859,
"c": 0.14964,
"h": 116.5
},
"luminance": 0.36726
}Semantic roles & 50–950 ramp
primary
#9CAC28
secondary
#766BC5
accent
#42E556
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B