#9FA673#9FA673
#9FA673 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.070 H 114.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA673 |
|---|---|
| RGB | rgb(159, 166, 115) |
| HSL | hsl(68, 22%, 55%) |
| HSV | hsv(68, 31%, 65%) |
| CMYK | cmyk(4.2%, 0%, 30.7%, 34.9%) |
| CIE-LAB | lab(66.43, -11.02, 25.64) |
| CIE-LCH | lch(66.43, 27.91, 113.25°) |
| OKLab | oklab(70.67% -0.0293 0.064) |
| OKLCH | oklch(70.67% 0.07 114.6) |
| XYZ | xyz(31.0288, 35.8814, 21.5075) |
| Luminance | 0.3588 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.29
Sage Green
#9CAF88
ΔE00 5.64
Moss Green
#8A9A5B
ΔE00 5.70
Greenish Grey
#96AE8D
ΔE00 7.78
Sage
#87AE73
ΔE00 7.85
Grey Green
#86A17D
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA673 #7A73A6
analogous
#A69373 #9FA673 #86A673
triadic
#9FA673 #739FA6 #A6739F
tetradic
#9FA673 #73A693 #7A73A6 #A67386
square
#9FA673 #73A693 #7A73A6 #A67386
split-complementary
#9FA673 #7386A6 #9373A6
monochromatic
#5C613E #808655 #9FA673 #B9BE98 #D2D6BE
Accessibility & contrast
On white
2.57
#9FA673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#9FA673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA673
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA673 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ADA170
Deuteranopia (green-blind)
#ADA275
Tritanopia (blue-blind)
#A5A099
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa673; /* rgb */ color: rgb(159, 166, 115); /* oklch */ color: oklch(70.7% 0.070 114.6);
Tailwind
colors: {
custom: {
50: '#bcc09b',
500: '#9fa673',
950: '#000000',
},
}SCSS
$custom: #9fa673; $custom-light: #bcc09b; $custom-dark: #000000;
JSON
{
"hex": "#9fa673",
"rgb": {
"r": 159,
"g": 166,
"b": 115
},
"hsl": {
"h": 68.235,
"s": 22.271,
"l": 55.098
},
"oklch": {
"l": 0.7067,
"c": 0.07042,
"h": 114.6
},
"luminance": 0.35881
}Semantic roles & 50–950 ramp
primary
#9FA673
secondary
#B3B0C5
accent
#69BF75
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E