#9FA752#9FA752
#9FA752 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.110 H 113.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA752 |
|---|---|
| RGB | rgb(159, 167, 82) |
| HSL | hsl(66, 34%, 49%) |
| HSV | hsv(66, 51%, 65%) |
| CMYK | cmyk(4.8%, 0%, 50.9%, 34.5%) |
| CIE-LAB | lab(66.23, -15.36, 42.55) |
| CIE-LCH | lch(66.23, 45.24, 109.85°) |
| OKLab | oklab(70.35% -0.0441 0.1006) |
| OKLCH | oklch(70.35% 0.11 113.7) |
| XYZ | xyz(29.6403, 35.6180, 13.2945) |
| Luminance | 0.3562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.27
Booger
#9BB53C
ΔE00 6.16
Pea Soup Green
#94A617
ΔE00 6.39
Moss Green
#8A9A5B
ΔE00 6.60
Avocado (survey)
#90B134
ΔE00 6.67
Darkkhaki
#BDB76B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA752 #5A52A7
analogous
#A78552 #9FA752 #75A752
triadic
#9FA752 #529FA7 #A7529F
tetradic
#9FA752 #52A785 #5A52A7 #A75275
square
#9FA752 #52A785 #5A52A7 #A75275
split-complementary
#9FA752 #5275A7 #8552A7
monochromatic
#51552A #787E3E #9FA752 #B7BD79 #CDD1A2
Accessibility & contrast
On white
2.59
#9FA752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#9FA752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA752
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA752 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#A89F94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa752; /* rgb */ color: rgb(159, 167, 82); /* oklch */ color: oklch(70.4% 0.110 113.7);
Tailwind
colors: {
custom: {
50: '#bdc185',
500: '#9fa752',
950: '#000000',
},
}SCSS
$custom: #9fa752; $custom-light: #bdc185; $custom-dark: #000000;
JSON
{
"hex": "#9fa752",
"rgb": {
"r": 159,
"g": 167,
"b": 82
},
"hsl": {
"h": 65.647,
"s": 34.137,
"l": 48.824
},
"oklch": {
"l": 0.70351,
"c": 0.10984,
"h": 113.7
},
"luminance": 0.35618
}Semantic roles & 50–950 ramp
primary
#9FA752
secondary
#9A96BF
accent
#5ECA68
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C