#9CB415#9CB415
#9CB415 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.6% C 0.166 H 119.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB415 |
|---|---|
| RGB | rgb(156, 180, 21) |
| HSL | hsl(69, 79%, 39%) |
| HSV | hsv(69, 88%, 71%) |
| CMYK | cmyk(13.3%, 0%, 88.3%, 29.4%) |
| CIE-LAB | lab(69.30, -26.61, 67.74) |
| CIE-LCH | lch(69.30, 72.78, 111.45°) |
| OKLab | oklab(72.63% -0.0806 0.1453) |
| OKLCH | oklch(72.63% 0.166 119) |
| XYZ | xyz(30.1677, 39.7648, 6.7954) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger Green
#96B403
ΔE00 1.19
Puke Green
#9AAE07
ΔE00 1.78
Sickly Green
#94B21C
ΔE00 1.79
Sick Green
#9DB92C
ΔE00 2.07
Bright Olive
#9CBB04
ΔE00 2.12
Barf Green
#94AC02
ΔE00 2.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB415 #2D15B4
analogous
#B47D15 #9CB415 #4CB415
triadic
#9CB415 #159CB4 #B4159C
tetradic
#9CB415 #15B47D #2D15B4 #B4154C
square
#9CB415 #15B47D #2D15B4 #B4154C
split-complementary
#9CB415 #154CB4 #7D15B4
monochromatic
#3D4608 #6D7D0F #9CB415 #C8E521 #D5EC58
Accessibility & contrast
On white
2.35
#9CB415 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#9CB415 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB415
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB415 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB415 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA2A
Tritanopia (blue-blind)
#A6AA99
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #9cb415; /* rgb */ color: rgb(156, 180, 21); /* oklch */ color: oklch(72.6% 0.166 119.0);
Tailwind
colors: {
custom: {
50: '#bdca67',
500: '#9cb415',
950: '#000000',
},
}SCSS
$custom: #9cb415; $custom-light: #bdca67; $custom-dark: #000000;
JSON
{
"hex": "#9cb415",
"rgb": {
"r": 156,
"g": 180,
"b": 21
},
"hsl": {
"h": 69.057,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.72631,
"c": 0.16616,
"h": 119
},
"luminance": 0.39765
}Semantic roles & 50–950 ramp
primary
#9CB415
secondary
#6856CF
accent
#32F650
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A