#9FA45C#9FA45C
#9FA45C is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.095 H 112.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA45C |
|---|---|
| RGB | rgb(159, 164, 92) |
| HSL | hsl(64, 28%, 50%) |
| HSV | hsv(64, 44%, 64%) |
| CMYK | cmyk(3%, 0%, 43.9%, 35.7%) |
| CIE-LAB | lab(65.51, -12.79, 36.64) |
| CIE-LCH | lch(65.51, 38.80, 109.24°) |
| OKLab | oklab(69.82% -0.0358 0.0883) |
| OKLCH | oklch(69.82% 0.095 112.1) |
| XYZ | xyz(29.5057, 34.6950, 15.2656) |
| Luminance | 0.3469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.95
Moss Green
#8A9A5B
ΔE00 5.35
Darkkhaki
#BDB76B
ΔE00 6.89
Tan Green
#A9BE70
ΔE00 7.68
Light Olive
#ACBF69
ΔE00 7.78
Dark Khaki
#9B8F55
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA45C #615CA4
analogous
#A4855C #9FA45C #7BA45C
triadic
#9FA45C #5C9FA4 #A45C9F
tetradic
#9FA45C #5CA485 #615CA4 #A45C7B
square
#9FA45C #5CA485 #615CA4 #A45C7B
split-complementary
#9FA45C #5C7BA4 #855CA4
monochromatic
#535630 #797D46 #9FA45C #B6BA83 #CDD0AB
Accessibility & contrast
On white
2.65
#9FA45C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#9FA45C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA45C
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA45C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA45C | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E56
Deuteranopia (green-blind)
#AEA05F
Tritanopia (blue-blind)
#A79C93
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9fa45c; /* rgb */ color: rgb(159, 164, 92); /* oklch */ color: oklch(69.8% 0.095 112.1);
Tailwind
colors: {
custom: {
50: '#bdbe8b',
500: '#9fa45c',
950: '#000000',
},
}SCSS
$custom: #9fa45c; $custom-light: #bdbe8b; $custom-dark: #000000;
JSON
{
"hex": "#9fa45c",
"rgb": {
"r": 159,
"g": 164,
"b": 92
},
"hsl": {
"h": 64.167,
"s": 28.346,
"l": 50.196
},
"oklch": {
"l": 0.69821,
"c": 0.09531,
"h": 112.1
},
"luminance": 0.34695
}Semantic roles & 50–950 ramp
primary
#9FA45C
secondary
#A09EBE
accent
#63C56A
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D