#A5A620#A5A620
#A5A620 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.145 H 110.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A620 |
|---|---|
| RGB | rgb(165, 166, 32) |
| HSL | hsl(60, 68%, 39%) |
| HSV | hsv(60, 81%, 65%) |
| CMYK | cmyk(0.6%, 0%, 80.7%, 34.9%) |
| CIE-LAB | lab(66.04, -15.42, 62.71) |
| CIE-LCH | lch(66.04, 64.58, 103.82°) |
| OKLab | oklab(70.2% -0.0496 0.1358) |
| OKLCH | oklch(70.2% 0.145 110.1) |
| XYZ | xyz(29.4151, 35.3769, 6.6452) |
| Luminance | 0.3538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.86
Puke
#A5A502
ΔE00 1.45
Pea Soup Green
#94A617
ΔE00 4.17
Puke Green
#9AAE07
ΔE00 4.56
Pea Soup
#929901
ΔE00 4.67
Mustard Green
#A8B504
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A620 #2120A6
analogous
#A66420 #A5A620 #62A620
triadic
#A5A620 #20A5A6 #A620A5
tetradic
#A5A620 #20A664 #2120A6 #A62062
square
#A5A620 #20A664 #2120A6 #A62062
split-complementary
#A5A620 #2062A6 #6420A6
monochromatic
#3F3F0C #727316 #A5A620 #D5D62D #DFE060
Accessibility & contrast
On white
2.60
#A5A620 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A5A620 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A620
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A620 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A620 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a620; /* rgb */ color: rgb(165, 166, 32); /* oklch */ color: oklch(70.2% 0.145 110.1);
Tailwind
colors: {
custom: {
50: '#c4c069',
500: '#a5a620',
950: '#000000',
},
}SCSS
$custom: #a5a620; $custom-light: #c4c069; $custom-dark: #000000;
JSON
{
"hex": "#a5a620",
"rgb": {
"r": 165,
"g": 166,
"b": 32
},
"hsl": {
"h": 60.448,
"s": 67.677,
"l": 38.824
},
"oklch": {
"l": 0.70197,
"c": 0.14457,
"h": 110.1
},
"luminance": 0.35376
}Semantic roles & 50–950 ramp
primary
#A5A620
secondary
#5E5DC5
accent
#3DEB3F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A