#9BA161#9BA161
#9BA161 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.086 H 113.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA161 |
|---|---|
| RGB | rgb(155, 161, 97) |
| HSL | hsl(66, 25%, 51%) |
| HSV | hsv(66, 40%, 63%) |
| CMYK | cmyk(3.7%, 0%, 39.8%, 36.9%) |
| CIE-LAB | lab(64.42, -12.29, 32.59) |
| CIE-LCH | lch(64.42, 34.83, 110.66°) |
| OKLab | oklab(68.9% -0.0338 0.0795) |
| OKLCH | oklch(68.9% 0.086 113) |
| XYZ | xyz(28.4204, 33.3218, 16.2415) |
| Luminance | 0.3332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.82
Moss Green
#8A9A5B
ΔE00 4.05
Camo
#7F8F4E
ΔE00 7.19
Dark Khaki
#9B8F55
ΔE00 7.45
Darkkhaki
#BDB76B
ΔE00 8.16
Tan Green
#A9BE70
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA161 #6761A1
analogous
#A18761 #9BA161 #7BA161
triadic
#9BA161 #619BA1 #A1619B
tetradic
#9BA161 #61A187 #6761A1 #A1617B
square
#9BA161 #61A187 #6761A1 #A1617B
split-complementary
#9BA161 #617BA1 #8761A1
monochromatic
#525533 #777B49 #9BA161 #B3B887 #CCCFAE
Accessibility & contrast
On white
2.74
#9BA161 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#9BA161 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA161
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA161 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA161 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9B5C
Deuteranopia (green-blind)
#AA9D64
Tritanopia (blue-blind)
#A29A91
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ba161; /* rgb */ color: rgb(155, 161, 97); /* oklch */ color: oklch(68.9% 0.086 113.0);
Tailwind
colors: {
custom: {
50: '#b9bc8f',
500: '#9ba161',
950: '#000000',
},
}SCSS
$custom: #9ba161; $custom-light: #b9bc8f; $custom-dark: #000000;
JSON
{
"hex": "#9ba161",
"rgb": {
"r": 155,
"g": 161,
"b": 97
},
"hsl": {
"h": 65.625,
"s": 25.397,
"l": 50.588
},
"oklch": {
"l": 0.68897,
"c": 0.0864,
"h": 113
},
"luminance": 0.33321
}Semantic roles & 50–950 ramp
primary
#9BA161
secondary
#A3A1BD
accent
#66C26F
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D