#9CB128#9CB128
#9CB128 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.0% C 0.155 H 118.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB128 |
|---|---|
| RGB | rgb(156, 177, 40) |
| HSL | hsl(69, 63%, 43%) |
| HSV | hsv(69, 77%, 69%) |
| CMYK | cmyk(11.9%, 0%, 77.4%, 30.6%) |
| CIE-LAB | lab(68.51, -24.52, 62.29) |
| CIE-LCH | lch(68.51, 66.94, 111.49°) |
| OKLab | oklab(72.02% -0.0737 0.1367) |
| OKLCH | oklch(72.02% 0.155 118.3) |
| XYZ | xyz(29.8161, 38.6657, 7.8996) |
| Luminance | 0.3866 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.80
Puke Green
#9AAE07
ΔE00 1.88
Barf Green
#94AC02
ΔE00 2.23
Booger Green
#96B403
ΔE00 2.26
Sick Green
#9DB92C
ΔE00 2.36
Booger
#9BB53C
ΔE00 2.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB128 #3D28B1
analogous
#B18128 #9CB128 #58B128
triadic
#9CB128 #289CB1 #B1289C
tetradic
#9CB128 #28B181 #3D28B1 #B12858
square
#9CB128 #28B181 #3D28B1 #B12858
split-complementary
#9CB128 #2858B1 #8128B1
monochromatic
#444D11 #707F1D #9CB128 #BED442 #CFE074
Accessibility & contrast
On white
2.40
#9CB128 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#9CB128 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB128
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB128 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB128 | 1.00 | 2.40 | 8.73 | 8.73 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#A6A798
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9cb128; /* rgb */ color: rgb(156, 177, 40); /* oklch */ color: oklch(72.0% 0.155 118.3);
Tailwind
colors: {
custom: {
50: '#bdc86e',
500: '#9cb128',
950: '#000000',
},
}SCSS
$custom: #9cb128; $custom-light: #bdc86e; $custom-dark: #000000;
JSON
{
"hex": "#9cb128",
"rgb": {
"r": 156,
"g": 177,
"b": 40
},
"hsl": {
"h": 69.197,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.72015,
"c": 0.15526,
"h": 118.3
},
"luminance": 0.38665
}Semantic roles & 50–950 ramp
primary
#9CB128
secondary
#7C6EC7
accent
#42E65B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B