#9CA562#9CA562
#9CA562 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.090 H 115.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA562 |
|---|---|
| RGB | rgb(156, 165, 98) |
| HSL | hsl(68, 27%, 52%) |
| HSV | hsv(68, 41%, 65%) |
| CMYK | cmyk(5.5%, 0%, 40.6%, 35.3%) |
| CIE-LAB | lab(65.64, -13.86, 33.63) |
| CIE-LCH | lch(65.64, 36.37, 112.40°) |
| OKLab | oklab(69.89% -0.0383 0.0819) |
| OKLCH | oklch(69.89% 0.09 115) |
| XYZ | xyz(29.3703, 34.8603, 16.7344) |
| Luminance | 0.3486 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.03
Moss Green
#8A9A5B
ΔE00 4.46
Tan Green
#A9BE70
ΔE00 7.12
Light Olive
#ACBF69
ΔE00 7.56
Darkkhaki
#BDB76B
ΔE00 7.62
Camo
#7F8F4E
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA562 #6B62A5
analogous
#A58D62 #9CA562 #7BA562
triadic
#9CA562 #629CA5 #A5629C
tetradic
#9CA562 #62A58D #6B62A5 #A5627B
square
#9CA562 #62A58D #6B62A5 #A5627B
split-complementary
#9CA562 #627BA5 #8D62A5
monochromatic
#545933 #79804A #9CA562 #B5BB89 #CDD2B0
Accessibility & contrast
On white
2.63
#9CA562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#9CA562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA562
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA562 | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#ADA065
Tritanopia (blue-blind)
#A39E95
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9ca562; /* rgb */ color: rgb(156, 165, 98); /* oklch */ color: oklch(69.9% 0.090 115.0);
Tailwind
colors: {
custom: {
50: '#babf90',
500: '#9ca562',
950: '#000000',
},
}SCSS
$custom: #9ca562; $custom-light: #babf90; $custom-dark: #000000;
JSON
{
"hex": "#9ca562",
"rgb": {
"r": 156,
"g": 165,
"b": 98
},
"hsl": {
"h": 68.06,
"s": 27.126,
"l": 51.569
},
"oklch": {
"l": 0.69893,
"c": 0.09041,
"h": 115
},
"luminance": 0.3486
}Semantic roles & 50–950 ramp
primary
#9CA562
secondary
#A7A3C0
accent
#64C371
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D