#9CB028#9CB028
#9CB028 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.8% C 0.154 H 118.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB028 |
|---|---|
| RGB | rgb(156, 176, 40) |
| HSL | hsl(69, 63%, 42%) |
| HSV | hsv(69, 77%, 69%) |
| CMYK | cmyk(11.4%, 0%, 77.3%, 31%) |
| CIE-LAB | lab(68.22, -24.03, 62.02) |
| CIE-LCH | lch(68.22, 66.52, 111.18°) |
| OKLab | oklab(71.78% -0.0723 0.1361) |
| OKLCH | oklch(71.78% 0.154 118) |
| XYZ | xyz(29.6193, 38.2721, 7.8340) |
| Luminance | 0.3827 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.78
Sickly Green
#94B21C
ΔE00 2.00
Barf Green
#94AC02
ΔE00 2.13
Booger Green
#96B403
ΔE00 2.48
Icky Green
#8FAE22
ΔE00 2.57
Booger
#9BB53C
ΔE00 2.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB028 #3C28B0
analogous
#B08028 #9CB028 #58B028
triadic
#9CB028 #289CB0 #B0289C
tetradic
#9CB028 #28B080 #3C28B0 #B02858
square
#9CB028 #28B080 #3C28B0 #B02858
split-complementary
#9CB028 #2858B0 #8028B0
monochromatic
#444C11 #707E1D #9CB028 #BED441 #CFDF73
Accessibility & contrast
On white
2.43
#9CB028 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#9CB028 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB028
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB028 | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#A6A697
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9cb028; /* rgb */ color: rgb(156, 176, 40); /* oklch */ color: oklch(71.8% 0.154 118.0);
Tailwind
colors: {
custom: {
50: '#bdc76e',
500: '#9cb028',
950: '#000000',
},
}SCSS
$custom: #9cb028; $custom-light: #bdc76e; $custom-dark: #000000;
JSON
{
"hex": "#9cb028",
"rgb": {
"r": 156,
"g": 176,
"b": 40
},
"hsl": {
"h": 68.824,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.71783,
"c": 0.15413,
"h": 118
},
"luminance": 0.38272
}Semantic roles & 50–950 ramp
primary
#9CB028
secondary
#7A6DC6
accent
#42E65A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B