#9FA457#9FA457
#9FA457 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.101 H 112.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA457 |
|---|---|
| RGB | rgb(159, 164, 87) |
| HSL | hsl(64, 31%, 49%) |
| HSV | hsv(64, 47%, 64%) |
| CMYK | cmyk(3%, 0%, 47%, 35.7%) |
| CIE-LAB | lab(65.44, -13.31, 39.11) |
| CIE-LCH | lch(65.44, 41.31, 108.80°) |
| OKLab | oklab(69.75% -0.0378 0.0935) |
| OKLCH | oklch(69.75% 0.101 112) |
| XYZ | xyz(29.2943, 34.6105, 14.1523) |
| Luminance | 0.3461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.21
Moss Green
#8A9A5B
ΔE00 5.78
Darkkhaki
#BDB76B
ΔE00 6.87
Pea Soup Green
#94A617
ΔE00 7.62
Booger
#9BB53C
ΔE00 7.68
Light Olive
#ACBF69
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA457 #5C57A4
analogous
#A48357 #9FA457 #79A457
triadic
#9FA457 #579FA4 #A4579F
tetradic
#9FA457 #57A483 #5C57A4 #A45779
square
#9FA457 #57A483 #5C57A4 #A45779
split-complementary
#9FA457 #5779A4 #8357A4
monochromatic
#51542D #787C42 #9FA457 #B7BA7E #CDD0A6
Accessibility & contrast
On white
2.65
#9FA457 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#9FA457 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA457
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA457 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA457 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9E50
Deuteranopia (green-blind)
#AEA05B
Tritanopia (blue-blind)
#A89C92
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9fa457; /* rgb */ color: rgb(159, 164, 87); /* oklch */ color: oklch(69.7% 0.101 112.0);
Tailwind
colors: {
custom: {
50: '#bdbe88',
500: '#9fa457',
950: '#000000',
},
}SCSS
$custom: #9fa457; $custom-light: #bdbe88; $custom-dark: #000000;
JSON
{
"hex": "#9fa457",
"rgb": {
"r": 159,
"g": 164,
"b": 87
},
"hsl": {
"h": 63.896,
"s": 30.677,
"l": 49.216
},
"oklch": {
"l": 0.69746,
"c": 0.10082,
"h": 112
},
"luminance": 0.3461
}Semantic roles & 50–950 ramp
primary
#9FA457
secondary
#9C99BD
accent
#61C768
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C