#9CA81C#9CA81C
#9CA81C is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.151 H 114.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA81C |
|---|---|
| RGB | rgb(156, 168, 28) |
| HSL | hsl(65, 71%, 38%) |
| HSV | hsv(65, 83%, 66%) |
| CMYK | cmyk(7.1%, 0%, 83.3%, 34.1%) |
| CIE-LAB | lab(65.87, -20.50, 63.34) |
| CIE-LCH | lch(65.87, 66.58, 107.94°) |
| OKLab | oklab(69.88% -0.0635 0.1368) |
| OKLCH | oklch(69.88% 0.151 114.9) |
| XYZ | xyz(27.9234, 35.1575, 6.4135) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.67
Puke Green
#9AAE07
ΔE00 2.30
Vomit
#A2A415
ΔE00 2.62
Barf Green
#94AC02
ΔE00 2.64
Puke
#A5A502
ΔE00 3.39
Pea Green
#8EAB12
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA81C #281CA8
analogous
#A86E1C #9CA81C #56A81C
triadic
#9CA81C #1C9CA8 #A81C9C
tetradic
#9CA81C #1CA86E #281CA8 #A81C56
square
#9CA81C #1CA86E #281CA8 #A81C56
split-complementary
#9CA81C #1C56A8 #6E1CA8
monochromatic
#3B3F0B #6B7413 #9CA81C #CBDB26 #D8E45B
Accessibility & contrast
On white
2.61
#9CA81C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#9CA81C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA81C
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA81C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA81C | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#A79E8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9ca81c; /* rgb */ color: rgb(156, 168, 28); /* oklch */ color: oklch(69.9% 0.151 114.9);
Tailwind
colors: {
custom: {
50: '#bdc168',
500: '#9ca81c',
950: '#000000',
},
}SCSS
$custom: #9ca81c; $custom-light: #bdc168; $custom-dark: #000000;
JSON
{
"hex": "#9ca81c",
"rgb": {
"r": 156,
"g": 168,
"b": 28
},
"hsl": {
"h": 65.143,
"s": 71.429,
"l": 38.431
},
"oklch": {
"l": 0.69878,
"c": 0.15084,
"h": 114.9
},
"luminance": 0.35157
}Semantic roles & 50–950 ramp
primary
#9CA81C
secondary
#6258C7
accent
#3AEE49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A