#A5AA20#A5AA20
#A5AA20 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.149 H 111.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AA20 |
|---|---|
| RGB | rgb(165, 170, 32) |
| HSL | hsl(62, 68%, 40%) |
| HSV | hsv(62, 81%, 67%) |
| CMYK | cmyk(2.9%, 0%, 81.2%, 33.3%) |
| CIE-LAB | lab(67.17, -17.47, 63.69) |
| CIE-LCH | lch(67.17, 66.04, 105.34°) |
| OKLab | oklab(71.1% -0.0553 0.1379) |
| OKLCH | oklch(71.1% 0.149 111.8) |
| XYZ | xyz(30.1536, 36.8539, 6.8913) |
| Luminance | 0.3685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.84
Puke
#A5A502
ΔE00 2.21
Puke Green
#9AAE07
ΔE00 3.39
Mustard Green
#A8B504
ΔE00 3.56
Pea Soup Green
#94A617
ΔE00 3.63
Barf Green
#94AC02
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AA20 #2520AA
analogous
#AA6A20 #A5AA20 #60AA20
triadic
#A5AA20 #20A5AA #AA20A5
tetradic
#A5AA20 #20AA6A #2520AA #AA2060
square
#A5AA20 #20AA6A #2520AA #AA2060
split-complementary
#A5AA20 #2060AA #6A20AA
monochromatic
#41430D #737616 #A5AA20 #D2D82F #DDE263
Accessibility & contrast
On white
2.51
#A5AA20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#A5AA20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AA20
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AA20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AA20 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#B19F91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5aa20; /* rgb */ color: rgb(165, 170, 32); /* oklch */ color: oklch(71.1% 0.149 111.8);
Tailwind
colors: {
custom: {
50: '#c4c36a',
500: '#a5aa20',
950: '#000000',
},
}SCSS
$custom: #a5aa20; $custom-light: #c4c36a; $custom-dark: #000000;
JSON
{
"hex": "#a5aa20",
"rgb": {
"r": 165,
"g": 170,
"b": 32
},
"hsl": {
"h": 62.174,
"s": 68.317,
"l": 39.608
},
"oklch": {
"l": 0.71098,
"c": 0.14856,
"h": 111.8
},
"luminance": 0.36853
}Semantic roles & 50–950 ramp
primary
#A5AA20
secondary
#635FC7
accent
#3DEB43
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A