#9CA162#9CA162
#9CA162 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.085 H 112.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA162 |
|---|---|
| RGB | rgb(156, 161, 98) |
| HSL | hsl(65, 25%, 51%) |
| HSV | hsv(65, 39%, 63%) |
| CMYK | cmyk(3.1%, 0%, 39.1%, 36.9%) |
| CIE-LAB | lab(64.52, -11.76, 32.20) |
| CIE-LCH | lch(64.52, 34.28, 110.07°) |
| OKLab | oklab(69% -0.0323 0.0787) |
| OKLCH | oklch(69% 0.085 112.3) |
| XYZ | xyz(28.6600, 33.4399, 16.4977) |
| Luminance | 0.3344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.61
Moss Green
#8A9A5B
ΔE00 4.28
Dark Khaki
#9B8F55
ΔE00 7.27
Camo
#7F8F4E
ΔE00 7.38
Darkkhaki
#BDB76B
ΔE00 8.03
Tan Green
#A9BE70
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA162 #6762A1
analogous
#A18662 #9CA162 #7CA162
triadic
#9CA162 #629CA1 #A1629C
tetradic
#9CA162 #62A186 #6762A1 #A1627C
square
#9CA162 #62A186 #6762A1 #A1627C
split-complementary
#9CA162 #627CA1 #8662A1
monochromatic
#535533 #787C4A #9CA162 #B4B888 #CCCFAF
Accessibility & contrast
On white
2.73
#9CA162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#9CA162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA162
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA162 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9C5D
Deuteranopia (green-blind)
#AA9D65
Tritanopia (blue-blind)
#A39A91
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ca162; /* rgb */ color: rgb(156, 161, 98); /* oklch */ color: oklch(69.0% 0.085 112.3);
Tailwind
colors: {
custom: {
50: '#babc8f',
500: '#9ca162',
950: '#000000',
},
}SCSS
$custom: #9ca162; $custom-light: #babc8f; $custom-dark: #000000;
JSON
{
"hex": "#9ca162",
"rgb": {
"r": 156,
"g": 161,
"b": 98
},
"hsl": {
"h": 64.762,
"s": 25.1,
"l": 50.784
},
"oklch": {
"l": 0.68997,
"c": 0.08503,
"h": 112.3
},
"luminance": 0.33439
}Semantic roles & 50–950 ramp
primary
#9CA162
secondary
#A4A1BD
accent
#66C26E
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D