#9CA12B#9CA12B
#9CA12B is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.136 H 111.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA12B |
|---|---|
| RGB | rgb(156, 161, 43) |
| HSL | hsl(63, 58%, 40%) |
| HSV | hsv(63, 73%, 63%) |
| CMYK | cmyk(3.1%, 0%, 73.3%, 36.9%) |
| CIE-LAB | lab(63.94, -16.34, 57.01) |
| CIE-LCH | lch(63.94, 59.30, 105.99°) |
| OKLab | oklab(68.36% -0.0508 0.126) |
| OKLCH | oklch(68.36% 0.136 111.9) |
| XYZ | xyz(26.8921, 32.7327, 7.1865) |
| Luminance | 0.3273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.50
Pea Soup Green
#94A617
ΔE00 3.31
Pea Soup
#929901
ΔE00 3.31
Baby Poop Green
#8F9805
ΔE00 3.61
Puke
#A5A502
ΔE00 3.62
Baby Shit Green
#889717
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA12B #302BA1
analogous
#A16B2B #9CA12B #61A12B
triadic
#9CA12B #2B9CA1 #A12B9C
tetradic
#9CA12B #2BA16B #302BA1 #A12B61
square
#9CA12B #2BA16B #302BA1 #A12B61
split-complementary
#9CA12B #2B61A1 #6B2BA1
monochromatic
#3E4011 #6D711E #9CA12B #C5CB3E #D4D86E
Accessibility & contrast
On white
2.78
#9CA12B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#9CA12B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA12B
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA12B | 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)
#AE9914
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ca12b; /* rgb */ color: rgb(156, 161, 43); /* oklch */ color: oklch(68.4% 0.136 111.9);
Tailwind
colors: {
custom: {
50: '#bcbc6d',
500: '#9ca12b',
950: '#000000',
},
}SCSS
$custom: #9ca12b; $custom-light: #bcbc6d; $custom-dark: #000000;
JSON
{
"hex": "#9ca12b",
"rgb": {
"r": 156,
"g": 161,
"b": 43
},
"hsl": {
"h": 62.542,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.68356,
"c": 0.13586,
"h": 111.9
},
"luminance": 0.32732
}Semantic roles & 50–950 ramp
primary
#9CA12B
secondary
#6C69BF
accent
#47E14D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A