#9FA262#9FA262
#9FA262 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.086 H 110.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA262 |
|---|---|
| RGB | rgb(159, 162, 98) |
| HSL | hsl(63, 26%, 51%) |
| HSV | hsv(63, 40%, 64%) |
| CMYK | cmyk(1.9%, 0%, 39.5%, 36.5%) |
| CIE-LAB | lab(65.04, -11.06, 32.91) |
| CIE-LCH | lch(65.04, 34.72, 108.58°) |
| OKLab | oklab(69.47% -0.0304 0.0803) |
| OKLCH | oklch(69.47% 0.086 110.7) |
| XYZ | xyz(29.4233, 34.0939, 16.5837) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.83
Moss Green
#8A9A5B
ΔE00 5.03
Dark Khaki
#9B8F55
ΔE00 7.12
Darkkhaki
#BDB76B
ΔE00 7.35
Camo
#7F8F4E
ΔE00 8.02
Tan Green
#A9BE70
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA262 #6562A2
analogous
#A28562 #9FA262 #7FA262
triadic
#9FA262 #629FA2 #A2629F
tetradic
#9FA262 #62A285 #6562A2 #A2627F
square
#9FA262 #62A285 #6562A2 #A2627F
split-complementary
#9FA262 #627FA2 #8562A2
monochromatic
#555633 #7A7D4A #9FA262 #B6B988 #CED0AF
Accessibility & contrast
On white
2.69
#9FA262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#9FA262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA262
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA262 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9D5D
Deuteranopia (green-blind)
#AC9F65
Tritanopia (blue-blind)
#A79B92
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9fa262; /* rgb */ color: rgb(159, 162, 98); /* oklch */ color: oklch(69.5% 0.086 110.7);
Tailwind
colors: {
custom: {
50: '#bcbd8f',
500: '#9fa262',
950: '#000000',
},
}SCSS
$custom: #9fa262; $custom-light: #bcbd8f; $custom-dark: #000000;
JSON
{
"hex": "#9fa262",
"rgb": {
"r": 159,
"g": 162,
"b": 98
},
"hsl": {
"h": 62.813,
"s": 25.6,
"l": 50.98
},
"oklch": {
"l": 0.69472,
"c": 0.08583,
"h": 110.7
},
"luminance": 0.34093
}Semantic roles & 50–950 ramp
primary
#9FA262
secondary
#A3A2BE
accent
#66C26A
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D