#9AA520#9AA520
#9AA520 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.147 H 114.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9AA520 |
|---|---|
| RGB | rgb(154, 165, 32) |
| HSL | hsl(65, 68%, 39%) |
| HSV | hsv(65, 81%, 65%) |
| CMYK | cmyk(6.7%, 0%, 80.6%, 35.3%) |
| CIE-LAB | lab(64.87, -19.72, 61.34) |
| CIE-LCH | lch(64.87, 64.43, 107.83°) |
| OKLab | oklab(69.04% -0.0609 0.1333) |
| OKLCH | oklch(69.04% 0.147 114.6) |
| XYZ | xyz(27.0431, 33.8851, 6.4821) |
| Luminance | 0.3388 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.58
Vomit
#A2A415
ΔE00 2.54
Puke Green
#9AAE07
ΔE00 3.17
Barf Green
#94AC02
ΔE00 3.24
Vomit Green
#89A203
ΔE00 3.51
Puke
#A5A502
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AA520 #2B20A5
analogous
#A56D20 #9AA520 #57A520
triadic
#9AA520 #209AA5 #A5209A
tetradic
#9AA520 #20A56D #2B20A5 #A52057
square
#9AA520 #20A56D #2B20A5 #A52057
split-complementary
#9AA520 #2057A5 #6D20A5
monochromatic
#3A3E0C #6A7216 #9AA520 #C8D62C #D5E05F
Accessibility & contrast
On white
2.70
#9AA520 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#9AA520 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AA520
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AA520 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AA520 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#A59B8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9aa520; /* rgb */ color: rgb(154, 165, 32); /* oklch */ color: oklch(69.0% 0.147 114.6);
Tailwind
colors: {
custom: {
50: '#bbbf69',
500: '#9aa520',
950: '#000000',
},
}SCSS
$custom: #9aa520; $custom-light: #bbbf69; $custom-dark: #000000;
JSON
{
"hex": "#9aa520",
"rgb": {
"r": 154,
"g": 165,
"b": 32
},
"hsl": {
"h": 64.962,
"s": 67.513,
"l": 38.627
},
"oklch": {
"l": 0.69042,
"c": 0.14658,
"h": 114.6
},
"luminance": 0.33885
}Semantic roles & 50–950 ramp
primary
#9AA520
secondary
#655CC5
accent
#3DEA4C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A