#9FA452#9FA452
#9FA452 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.106 H 112.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA452 |
|---|---|
| RGB | rgb(159, 164, 82) |
| HSL | hsl(64, 33%, 48%) |
| HSV | hsv(64, 50%, 64%) |
| CMYK | cmyk(3%, 0%, 50%, 35.7%) |
| CIE-LAB | lab(65.38, -13.80, 41.55) |
| CIE-LCH | lch(65.38, 43.78, 108.38°) |
| OKLab | oklab(69.68% -0.0397 0.0984) |
| OKLCH | oklch(69.68% 0.106 112) |
| XYZ | xyz(29.0971, 34.5316, 13.1135) |
| Luminance | 0.3453 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.65
Moss Green
#8A9A5B
ΔE00 6.29
Pea Soup Green
#94A617
ΔE00 6.82
Darkkhaki
#BDB76B
ΔE00 6.95
Vomit
#A2A415
ΔE00 7.00
Booger
#9BB53C
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA452 #5752A4
analogous
#A48052 #9FA452 #76A452
triadic
#9FA452 #529FA4 #A4529F
tetradic
#9FA452 #52A480 #5752A4 #A45276
square
#9FA452 #52A480 #5752A4 #A45276
split-complementary
#9FA452 #5276A4 #8052A4
monochromatic
#505229 #777B3E #9FA452 #B7BB78 #CDD0A1
Accessibility & contrast
On white
2.66
#9FA452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#9FA452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA452
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA452 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9E4B
Deuteranopia (green-blind)
#AFA056
Tritanopia (blue-blind)
#A89C91
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9fa452; /* rgb */ color: rgb(159, 164, 82); /* oklch */ color: oklch(69.7% 0.106 112.0);
Tailwind
colors: {
custom: {
50: '#bdbe85',
500: '#9fa452',
950: '#000000',
},
}SCSS
$custom: #9fa452; $custom-light: #bdbe85; $custom-dark: #000000;
JSON
{
"hex": "#9fa452",
"rgb": {
"r": 159,
"g": 164,
"b": 82
},
"hsl": {
"h": 63.659,
"s": 33.333,
"l": 48.235
},
"oklch": {
"l": 0.69677,
"c": 0.10611,
"h": 112
},
"luminance": 0.34531
}Semantic roles & 50–950 ramp
primary
#9FA452
secondary
#9795BD
accent
#5EC965
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C