#9FA55C#9FA55C
#9FA55C is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.097 H 112.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA55C |
|---|---|
| RGB | rgb(159, 165, 92) |
| HSL | hsl(65, 29%, 50%) |
| HSV | hsv(65, 44%, 65%) |
| CMYK | cmyk(3.6%, 0%, 44.2%, 35.3%) |
| CIE-LAB | lab(65.79, -13.31, 36.98) |
| CIE-LCH | lch(65.79, 39.31, 109.79°) |
| OKLab | oklab(70.04% -0.0373 0.0891) |
| OKLCH | oklch(70.04% 0.097 112.7) |
| XYZ | xyz(29.6854, 35.0544, 15.3255) |
| Luminance | 0.3505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.14
Moss Green
#8A9A5B
ΔE00 5.42
Darkkhaki
#BDB76B
ΔE00 6.81
Tan Green
#A9BE70
ΔE00 7.33
Light Olive
#ACBF69
ΔE00 7.43
Booger
#9BB53C
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA55C #625CA5
analogous
#A5875C #9FA55C #7AA55C
triadic
#9FA55C #5C9FA5 #A55C9F
tetradic
#9FA55C #5CA587 #625CA5 #A55C7A
square
#9FA55C #5CA587 #625CA5 #A55C7A
split-complementary
#9FA55C #5C7AA5 #875CA5
monochromatic
#545730 #7A7E46 #9FA55C #B6BB83 #CDD1AB
Accessibility & contrast
On white
2.62
#9FA55C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#9FA55C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA55C
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA55C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA55C | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F56
Deuteranopia (green-blind)
#AFA160
Tritanopia (blue-blind)
#A79D94
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9fa55c; /* rgb */ color: rgb(159, 165, 92); /* oklch */ color: oklch(70.0% 0.097 112.7);
Tailwind
colors: {
custom: {
50: '#bdbf8b',
500: '#9fa55c',
950: '#000000',
},
}SCSS
$custom: #9fa55c; $custom-light: #bdbf8b; $custom-dark: #000000;
JSON
{
"hex": "#9fa55c",
"rgb": {
"r": 159,
"g": 165,
"b": 92
},
"hsl": {
"h": 64.932,
"s": 28.854,
"l": 50.392
},
"oklch": {
"l": 0.70044,
"c": 0.0966,
"h": 112.7
},
"luminance": 0.35054
}Semantic roles & 50–950 ramp
primary
#9FA55C
secondary
#A19EBF
accent
#63C56B
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D