#9CA03B#9CA03B
#9CA03B is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.3% C 0.123 H 111.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA03B |
|---|---|
| RGB | rgb(156, 160, 59) |
| HSL | hsl(62, 46%, 43%) |
| HSV | hsv(62, 63%, 63%) |
| CMYK | cmyk(2.5%, 0%, 63.1%, 37.3%) |
| CIE-LAB | lab(63.78, -14.89, 50.46) |
| CIE-LCH | lch(63.78, 52.61, 106.44°) |
| OKLab | oklab(68.26% -0.045 0.1149) |
| OKLCH | oklch(68.26% 0.123 111.4) |
| XYZ | xyz(27.0713, 32.5259, 8.9889) |
| Luminance | 0.3252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.24
Pea Soup
#929901
ΔE00 4.55
Pea Soup Green
#94A617
ΔE00 4.58
Baby Poop Green
#8F9805
ΔE00 4.65
Baby Shit Green
#889717
ΔE00 4.96
Puke
#A5A502
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA03B #3F3BA0
analogous
#A0713B #9CA03B #69A03B
triadic
#9CA03B #3B9CA0 #A03B9C
tetradic
#9CA03B #3BA071 #3F3BA0 #A03B69
square
#9CA03B #3BA071 #3F3BA0 #A03B69
split-complementary
#9CA03B #3B69A0 #713BA0
monochromatic
#45471A #70732B #9CA03B #BDC157 #CED284
Accessibility & contrast
On white
2.80
#9CA03B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.50
#9CA03B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA03B
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA03B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA03B | 1.00 | 2.80 | 7.50 | 7.50 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC992E
Deuteranopia (green-blind)
#AC9C41
Tritanopia (blue-blind)
#A6978B
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ca03b; /* rgb */ color: rgb(156, 160, 59); /* oklch */ color: oklch(68.3% 0.123 111.4);
Tailwind
colors: {
custom: {
50: '#bcbb76',
500: '#9ca03b',
950: '#000000',
},
}SCSS
$custom: #9ca03b; $custom-light: #bcbb76; $custom-dark: #000000;
JSON
{
"hex": "#9ca03b",
"rgb": {
"r": 156,
"g": 160,
"b": 59
},
"hsl": {
"h": 62.376,
"s": 46.119,
"l": 42.941
},
"oklch": {
"l": 0.68258,
"c": 0.12338,
"h": 111.4
},
"luminance": 0.32525
}Semantic roles & 50–950 ramp
primary
#9CA03B
secondary
#7E7BBC
accent
#52D657
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B