#9CA166#9CA166
#9CA166 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.080 H 112.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA166 |
|---|---|
| RGB | rgb(156, 161, 102) |
| HSL | hsl(65, 24%, 52%) |
| HSV | hsv(65, 37%, 63%) |
| CMYK | cmyk(3.1%, 0%, 36.6%, 36.9%) |
| CIE-LAB | lab(64.58, -11.28, 30.15) |
| CIE-LCH | lch(64.58, 32.19, 110.51°) |
| OKLab | oklab(69.07% -0.0306 0.0741) |
| OKLCH | oklch(69.07% 0.08 112.4) |
| XYZ | xyz(28.8536, 33.5174, 17.5173) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.97
Moss Green
#8A9A5B
ΔE00 4.31
Dark Khaki
#9B8F55
ΔE00 7.33
Camo
#7F8F4E
ΔE00 7.49
Sage Green
#9CAF88
ΔE00 8.01
Darkkhaki
#BDB76B
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA166 #6B66A1
analogous
#A18966 #9CA166 #7FA166
triadic
#9CA166 #669CA1 #A1669C
tetradic
#9CA166 #66A189 #6B66A1 #A1667F
square
#9CA166 #66A189 #6B66A1 #A1667F
split-complementary
#9CA166 #667FA1 #8966A1
monochromatic
#545736 #797D4D #9CA166 #B5B88C #CDD0B2
Accessibility & contrast
On white
2.73
#9CA166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#9CA166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA166
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA166 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99C62
Deuteranopia (green-blind)
#A99D69
Tritanopia (blue-blind)
#A39A92
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ca166; /* rgb */ color: rgb(156, 161, 102); /* oklch */ color: oklch(69.1% 0.080 112.4);
Tailwind
colors: {
custom: {
50: '#babc92',
500: '#9ca166',
950: '#000000',
},
}SCSS
$custom: #9ca166; $custom-light: #babc92; $custom-dark: #000000;
JSON
{
"hex": "#9ca166",
"rgb": {
"r": 156,
"g": 161,
"b": 102
},
"hsl": {
"h": 65.085,
"s": 23.887,
"l": 51.569
},
"oklch": {
"l": 0.69067,
"c": 0.08022,
"h": 112.4
},
"luminance": 0.33517
}Semantic roles & 50–950 ramp
primary
#9CA166
secondary
#A7A4BE
accent
#67C06F
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12120D
muted
#81817E