#9FA158#9FA158
#9FA158 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.096 H 110.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA158 |
|---|---|
| RGB | rgb(159, 161, 88) |
| HSL | hsl(62, 29%, 49%) |
| HSV | hsv(62, 45%, 63%) |
| CMYK | cmyk(1.2%, 0%, 45.3%, 36.9%) |
| CIE-LAB | lab(64.62, -11.63, 37.59) |
| CIE-LCH | lch(64.62, 39.35, 107.20°) |
| OKLab | oklab(69.09% -0.0329 0.0902) |
| OKLCH | oklch(69.09% 0.096 110) |
| XYZ | xyz(28.8049, 33.5658, 14.1921) |
| Luminance | 0.3357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.76
Moss Green
#8A9A5B
ΔE00 5.62
Dark Khaki
#9B8F55
ΔE00 7.02
Darkkhaki
#BDB76B
ΔE00 7.21
Camo
#7F8F4E
ΔE00 8.11
Vomit
#A2A415
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA158 #5A58A1
analogous
#A17F58 #9FA158 #7BA158
triadic
#9FA158 #589FA1 #A1589F
tetradic
#9FA158 #58A17F #5A58A1 #A1587B
square
#9FA158 #58A17F #5A58A1 #A1587B
split-complementary
#9FA158 #587BA1 #7F58A1
monochromatic
#51522D #787942 #9FA158 #B7B87E #CDCEA5
Accessibility & contrast
On white
2.72
#9FA158 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#9FA158 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA158
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA158 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9B52
Deuteranopia (green-blind)
#AC9E5B
Tritanopia (blue-blind)
#A89990
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9fa158; /* rgb */ color: rgb(159, 161, 88); /* oklch */ color: oklch(69.1% 0.096 110.0);
Tailwind
colors: {
custom: {
50: '#bdbc89',
500: '#9fa158',
950: '#000000',
},
}SCSS
$custom: #9fa158; $custom-light: #bdbc89; $custom-dark: #000000;
JSON
{
"hex": "#9fa158",
"rgb": {
"r": 159,
"g": 161,
"b": 88
},
"hsl": {
"h": 61.644,
"s": 29.317,
"l": 48.824
},
"oklch": {
"l": 0.69091,
"c": 0.09598,
"h": 110
},
"luminance": 0.33565
}Semantic roles & 50–950 ramp
primary
#9FA158
secondary
#9A99BC
accent
#62C665
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C