#9FA757#9FA757
#9FA757 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.105 H 113.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA757 |
|---|---|
| RGB | rgb(159, 167, 87) |
| HSL | hsl(66, 31%, 50%) |
| HSV | hsv(66, 48%, 65%) |
| CMYK | cmyk(4.8%, 0%, 47.9%, 34.5%) |
| CIE-LAB | lab(66.29, -14.87, 40.13) |
| CIE-LCH | lch(66.29, 42.80, 110.33°) |
| OKLab | oklab(70.42% -0.0422 0.0957) |
| OKLCH | oklch(70.42% 0.105 113.8) |
| XYZ | xyz(29.8375, 35.6969, 14.3334) |
| Luminance | 0.3570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.87
Moss Green
#8A9A5B
ΔE00 6.08
Booger
#9BB53C
ΔE00 6.69
Darkkhaki
#BDB76B
ΔE00 6.70
Light Olive
#ACBF69
ΔE00 6.73
Tan Green
#A9BE70
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA757 #5F57A7
analogous
#A78757 #9FA757 #77A757
triadic
#9FA757 #579FA7 #A7579F
tetradic
#9FA757 #57A787 #5F57A7 #A75777
square
#9FA757 #57A787 #5F57A7 #A75777
split-complementary
#9FA757 #5777A7 #8757A7
monochromatic
#52572D #797F42 #9FA757 #B6BC7F #CDD1A7
Accessibility & contrast
On white
2.58
#9FA757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#9FA757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA757
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA757 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A050
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#A79F94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa757; /* rgb */ color: rgb(159, 167, 87); /* oklch */ color: oklch(70.4% 0.105 113.8);
Tailwind
colors: {
custom: {
50: '#bdc188',
500: '#9fa757',
950: '#000000',
},
}SCSS
$custom: #9fa757; $custom-light: #bdc188; $custom-dark: #000000;
JSON
{
"hex": "#9fa757",
"rgb": {
"r": 159,
"g": 167,
"b": 87
},
"hsl": {
"h": 66,
"s": 31.496,
"l": 49.804
},
"oklch": {
"l": 0.7042,
"c": 0.10463,
"h": 113.8
},
"luminance": 0.35696
}Semantic roles & 50–950 ramp
primary
#9FA757
secondary
#9E9BBF
accent
#60C86A
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C