#9CA12C#9CA12C
#9CA12C is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.135 H 111.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA12C |
|---|---|
| RGB | rgb(156, 161, 44) |
| HSL | hsl(63, 57%, 40%) |
| HSV | hsv(63, 73%, 63%) |
| CMYK | cmyk(3.1%, 0%, 72.7%, 36.9%) |
| CIE-LAB | lab(63.95, -16.29, 56.65) |
| CIE-LCH | lch(63.95, 58.95, 106.04°) |
| OKLab | oklab(68.36% -0.0505 0.1255) |
| OKLCH | oklch(68.36% 0.135 111.9) |
| XYZ | xyz(26.9107, 32.7402, 7.2843) |
| Luminance | 0.3274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.59
Pea Soup Green
#94A617
ΔE00 3.34
Pea Soup
#929901
ΔE00 3.37
Baby Poop Green
#8F9805
ΔE00 3.66
Puke
#A5A502
ΔE00 3.70
Baby Shit Green
#889717
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA12C #312CA1
analogous
#A16B2C #9CA12C #62A12C
triadic
#9CA12C #2C9CA1 #A12C9C
tetradic
#9CA12C #2CA16B #312CA1 #A12C62
square
#9CA12C #2CA16B #312CA1 #A12C62
split-complementary
#9CA12C #2C62A1 #6B2CA1
monochromatic
#3F4112 #6D711F #9CA12C #C5CB40 #D3D870
Accessibility & contrast
On white
2.78
#9CA12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#9CA12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA12C
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA12C | 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)
#AE9916
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ca12c; /* rgb */ color: rgb(156, 161, 44); /* oklch */ color: oklch(68.4% 0.135 111.9);
Tailwind
colors: {
custom: {
50: '#bcbc6e',
500: '#9ca12c',
950: '#000000',
},
}SCSS
$custom: #9ca12c; $custom-light: #bcbc6e; $custom-dark: #000000;
JSON
{
"hex": "#9ca12c",
"rgb": {
"r": 156,
"g": 161,
"b": 44
},
"hsl": {
"h": 62.564,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.68363,
"c": 0.13525,
"h": 111.9
},
"luminance": 0.3274
}Semantic roles & 50–950 ramp
primary
#9CA12C
secondary
#6D6ABF
accent
#47E04E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B