#9CB328#9CB328
#9CB328 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.5% C 0.158 H 119.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB328 |
|---|---|
| RGB | rgb(156, 179, 40) |
| HSL | hsl(70, 63%, 43%) |
| HSV | hsv(70, 78%, 70%) |
| CMYK | cmyk(12.8%, 0%, 77.7%, 29.8%) |
| CIE-LAB | lab(69.08, -25.50, 62.82) |
| CIE-LCH | lch(69.08, 67.80, 112.10°) |
| OKLab | oklab(72.48% -0.0764 0.1378) |
| OKLCH | oklch(72.48% 0.158 119) |
| XYZ | xyz(30.2141, 39.4615, 8.0322) |
| Luminance | 0.3946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.53
Sick Green
#9DB92C
ΔE00 1.75
Booger Green
#96B403
ΔE00 1.93
Booger
#9BB53C
ΔE00 2.18
Puke Green
#9AAE07
ΔE00 2.21
Icky Green
#8FAE22
ΔE00 2.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB328 #3F28B3
analogous
#B38428 #9CB328 #56B328
triadic
#9CB328 #289CB3 #B3289C
tetradic
#9CB328 #28B384 #3F28B3 #B32856
square
#9CB328 #28B384 #3F28B3 #B32856
split-complementary
#9CB328 #2856B3 #8428B3
monochromatic
#454F12 #70811D #9CB328 #BDD543 #CEE075
Accessibility & contrast
On white
2.36
#9CB328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#9CB328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB328
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB328 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#A6A999
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #9cb328; /* rgb */ color: rgb(156, 179, 40); /* oklch */ color: oklch(72.5% 0.158 119.0);
Tailwind
colors: {
custom: {
50: '#bdc96e',
500: '#9cb328',
950: '#000000',
},
}SCSS
$custom: #9cb328; $custom-light: #bdc96e; $custom-dark: #000000;
JSON
{
"hex": "#9cb328",
"rgb": {
"r": 156,
"g": 179,
"b": 40
},
"hsl": {
"h": 69.928,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.72478,
"c": 0.15753,
"h": 119
},
"luminance": 0.39461
}Semantic roles & 50–950 ramp
primary
#9CB328
secondary
#7E6FC8
accent
#41E65D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B