#9AA52F#9AA52F
#9AA52F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.138 H 114.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9AA52F |
|---|---|
| RGB | rgb(154, 165, 47) |
| HSL | hsl(66, 56%, 42%) |
| HSV | hsv(66, 72%, 65%) |
| CMYK | cmyk(6.7%, 0%, 71.5%, 35.3%) |
| CIE-LAB | lab(64.95, -19.05, 56.47) |
| CIE-LCH | lch(64.95, 59.60, 108.64°) |
| OKLab | oklab(69.13% -0.0578 0.1257) |
| OKLCH | oklch(69.13% 0.138 114.7) |
| XYZ | xyz(27.2954, 33.9860, 7.8108) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.20
Vomit
#A2A415
ΔE00 3.43
Vomit Green
#89A203
ΔE00 3.85
Barf Green
#94AC02
ΔE00 3.88
Puke Green
#9AAE07
ΔE00 3.91
Pea Green
#8EAB12
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AA52F #3A2FA5
analogous
#A5752F #9AA52F #5FA52F
triadic
#9AA52F #2F9AA5 #A52F9A
tetradic
#9AA52F #2FA575 #3A2FA5 #A52F5F
square
#9AA52F #2FA575 #3A2FA5 #A52F5F
split-complementary
#9AA52F #2F5FA5 #752FA5
monochromatic
#414614 #6E7521 #9AA52F #BECB47 #CFD876
Accessibility & contrast
On white
2.69
#9AA52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#9AA52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AA52F
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AA52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AA52F | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#B09F38
Tritanopia (blue-blind)
#A49B8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9aa52f; /* rgb */ color: rgb(154, 165, 47); /* oklch */ color: oklch(69.1% 0.138 114.7);
Tailwind
colors: {
custom: {
50: '#bbbf70',
500: '#9aa52f',
950: '#000000',
},
}SCSS
$custom: #9aa52f; $custom-light: #bbbf70; $custom-dark: #000000;
JSON
{
"hex": "#9aa52f",
"rgb": {
"r": 154,
"g": 165,
"b": 47
},
"hsl": {
"h": 65.593,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.69132,
"c": 0.13832,
"h": 114.7
},
"luminance": 0.33986
}Semantic roles & 50–950 ramp
primary
#9AA52F
secondary
#7770C0
accent
#49DF57
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B