#9CB417#9CB417
#9CB417 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 | #9CB417 |
|---|---|
| RGB | rgb(156, 180, 23) |
| HSL | hsl(69, 77%, 40%) |
| HSV | hsv(69, 87%, 71%) |
| CMYK | cmyk(13.3%, 0%, 87.2%, 29.4%) |
| CIE-LAB | lab(69.31, -26.57, 67.36) |
| CIE-LCH | lch(69.31, 72.41, 111.52°) |
| OKLab | oklab(72.64% -0.0804 0.1448) |
| OKLCH | oklch(72.64% 0.166 119) |
| XYZ | xyz(30.1869, 39.7725, 6.8970) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger Green
#96B403
ΔE00 1.21
Sickly Green
#94B21C
ΔE00 1.73
Puke Green
#9AAE07
ΔE00 1.81
Sick Green
#9DB92C
ΔE00 2.00
Bright Olive
#9CBB04
ΔE00 2.14
Barf Green
#94AC02
ΔE00 2.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB417 #2F17B4
analogous
#B47E17 #9CB417 #4EB417
triadic
#9CB417 #179CB4 #B4179C
tetradic
#9CB417 #17B47E #2F17B4 #B4174E
square
#9CB417 #17B47E #2F17B4 #B4174E
split-complementary
#9CB417 #174EB4 #7E17B4
monochromatic
#3E4709 #6D7E10 #9CB417 #C6E325 #D4EA5B
Accessibility & contrast
On white
2.35
#9CB417 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#9CB417 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB417
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB417 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB417 | 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)
#BEAA2B
Tritanopia (blue-blind)
#A6AA99
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #9cb417; /* rgb */ color: rgb(156, 180, 23); /* oklch */ color: oklch(72.6% 0.166 119.0);
Tailwind
colors: {
custom: {
50: '#bdca68',
500: '#9cb417',
950: '#000000',
},
}SCSS
$custom: #9cb417; $custom-light: #bdca68; $custom-dark: #000000;
JSON
{
"hex": "#9cb417",
"rgb": {
"r": 156,
"g": 180,
"b": 23
},
"hsl": {
"h": 69.172,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.72637,
"c": 0.16557,
"h": 119
},
"luminance": 0.39772
}Semantic roles & 50–950 ramp
primary
#9CB417
secondary
#6B59CE
accent
#34F451
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A