#9CA12E#9CA12E
#9CA12E is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.134 H 111.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA12E |
|---|---|
| RGB | rgb(156, 161, 46) |
| HSL | hsl(63, 56%, 41%) |
| HSV | hsv(63, 71%, 63%) |
| CMYK | cmyk(3.1%, 0%, 71.4%, 36.9%) |
| CIE-LAB | lab(63.96, -16.19, 55.93) |
| CIE-LCH | lch(63.96, 58.22, 106.14°) |
| OKLab | oklab(68.38% -0.05 0.1243) |
| OKLCH | oklch(68.38% 0.134 111.9) |
| XYZ | xyz(26.9492, 32.7556, 7.4871) |
| Luminance | 0.3276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.77
Pea Soup Green
#94A617
ΔE00 3.42
Pea Soup
#929901
ΔE00 3.49
Baby Poop Green
#8F9805
ΔE00 3.76
Puke
#A5A502
ΔE00 3.88
Baby Shit Green
#889717
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA12E #332EA1
analogous
#A16C2E #9CA12E #62A12E
triadic
#9CA12E #2E9CA1 #A12E9C
tetradic
#9CA12E #2EA16C #332EA1 #A12E62
square
#9CA12E #2EA16C #332EA1 #A12E62
split-complementary
#9CA12E #2E62A1 #6C2EA1
monochromatic
#404213 #6E7120 #9CA12E #C3C943 #D3D773
Accessibility & contrast
On white
2.78
#9CA12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#9CA12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA12E
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA12E | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9A1A
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#A7978B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ca12e; /* rgb */ color: rgb(156, 161, 46); /* oklch */ color: oklch(68.4% 0.134 111.9);
Tailwind
colors: {
custom: {
50: '#bcbc6f',
500: '#9ca12e',
950: '#000000',
},
}SCSS
$custom: #9ca12e; $custom-light: #bcbc6f; $custom-dark: #000000;
JSON
{
"hex": "#9ca12e",
"rgb": {
"r": 156,
"g": 161,
"b": 46
},
"hsl": {
"h": 62.609,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.68377,
"c": 0.13399,
"h": 111.9
},
"luminance": 0.32755
}Semantic roles & 50–950 ramp
primary
#9CA12E
secondary
#706CBE
accent
#49DF4F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B