#9CA017#9CA017
#9CA017 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.144 H 111.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA017 |
|---|---|
| RGB | rgb(156, 160, 23) |
| HSL | hsl(62, 75%, 36%) |
| HSV | hsv(62, 86%, 63%) |
| CMYK | cmyk(2.5%, 0%, 85.6%, 37.3%) |
| CIE-LAB | lab(63.57, -16.58, 62.60) |
| CIE-LCH | lch(63.57, 64.76, 104.83°) |
| OKLab | oklab(68.03% -0.053 0.1344) |
| OKLCH | oklch(68.03% 0.144 111.5) |
| XYZ | xyz(26.4367, 32.2721, 5.6470) |
| Luminance | 0.3227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.53
Puke
#A5A502
ΔE00 2.49
Pea Soup
#929901
ΔE00 2.54
Baby Poop Green
#8F9805
ΔE00 3.12
Pea Soup Green
#94A617
ΔE00 3.48
Baby Shit Green
#889717
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA017 #1B17A0
analogous
#A05F17 #9CA017 #57A017
triadic
#9CA017 #179CA0 #A0179C
tetradic
#9CA017 #17A05F #1B17A0 #A01757
square
#9CA017 #17A05F #1B17A0 #A01757
split-complementary
#9CA017 #1757A0 #5F17A0
monochromatic
#343508 #686A0F #9CA017 #D0D61F #E1E54C
Accessibility & contrast
On white
2.82
#9CA017 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#9CA017 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA017
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA017 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA017 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9B26
Tritanopia (blue-blind)
#A79588
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ca017; /* rgb */ color: rgb(156, 160, 23); /* oklch */ color: oklch(68.0% 0.144 111.5);
Tailwind
colors: {
custom: {
50: '#bdbb65',
500: '#9ca017',
950: '#000000',
},
}SCSS
$custom: #9ca017; $custom-light: #bdbb65; $custom-dark: #000000;
JSON
{
"hex": "#9ca017",
"rgb": {
"r": 156,
"g": 160,
"b": 23
},
"hsl": {
"h": 61.752,
"s": 74.863,
"l": 35.882
},
"oklch": {
"l": 0.68025,
"c": 0.14445,
"h": 111.5
},
"luminance": 0.32271
}Semantic roles & 50–950 ramp
primary
#9CA017
secondary
#4F4CC7
accent
#36F13C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A