#9BA566#9BA566
#9BA566 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.086 H 116.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA566 |
|---|---|
| RGB | rgb(155, 165, 102) |
| HSL | hsl(70, 26%, 52%) |
| HSV | hsv(70, 38%, 65%) |
| CMYK | cmyk(6.1%, 0%, 38.2%, 35.3%) |
| CIE-LAB | lab(65.62, -13.79, 31.48) |
| CIE-LCH | lch(65.62, 34.37, 113.65°) |
| OKLab | oklab(69.88% -0.0377 0.0772) |
| OKLCH | oklch(69.88% 0.086 116) |
| XYZ | xyz(29.3711, 34.8384, 17.7450) |
| Luminance | 0.3484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 4.20
Khaki (survey)
#AAA662
ΔE00 4.55
Tan Green
#A9BE70
ΔE00 7.21
Sage
#87AE73
ΔE00 7.47
Sage Green
#9CAF88
ΔE00 7.48
Camo
#7F8F4E
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA566 #7066A5
analogous
#A59066 #9BA566 #7BA566
triadic
#9BA566 #669BA5 #A5669B
tetradic
#9BA566 #66A590 #7066A5 #A5667B
square
#9BA566 #66A590 #7066A5 #A5667B
split-complementary
#9BA566 #667BA5 #9066A5
monochromatic
#555B36 #79824C #9BA566 #B4BC8D #CDD2B3
Accessibility & contrast
On white
2.64
#9BA566 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#9BA566 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA566
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA566 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA566 | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 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)
#AD9F61
Deuteranopia (green-blind)
#ACA069
Tritanopia (blue-blind)
#A29E95
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9ba566; /* rgb */ color: rgb(155, 165, 102); /* oklch */ color: oklch(69.9% 0.086 116.0);
Tailwind
colors: {
custom: {
50: '#b9bf92',
500: '#9ba566',
950: '#000000',
},
}SCSS
$custom: #9ba566; $custom-light: #b9bf92; $custom-dark: #000000;
JSON
{
"hex": "#9ba566",
"rgb": {
"r": 155,
"g": 165,
"b": 102
},
"hsl": {
"h": 69.524,
"s": 25.926,
"l": 52.353
},
"oklch": {
"l": 0.6988,
"c": 0.08594,
"h": 116
},
"luminance": 0.34838
}Semantic roles & 50–950 ramp
primary
#9BA566
secondary
#AAA6C1
accent
#65C274
background
#FBFBF9
surface
#F6F7F1
border
#D0D0CB
text
#11120D
muted
#80817E