#A5A52A#A5A52A
#A5A52A is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.139 H 109.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A52A |
|---|---|
| RGB | rgb(165, 165, 42) |
| HSL | hsl(60, 59%, 41%) |
| HSV | hsv(60, 75%, 65%) |
| CMYK | cmyk(0%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(65.81, -14.51, 59.39) |
| CIE-LCH | lch(65.81, 61.13, 103.73°) |
| OKLab | oklab(70.03% -0.0462 0.1306) |
| OKLCH | oklch(70.03% 0.139 109.5) |
| XYZ | xyz(29.3912, 35.0777, 7.4125) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.49
Puke
#A5A502
ΔE00 2.24
Pea Soup Green
#94A617
ΔE00 4.36
Pea Soup
#929901
ΔE00 4.66
Puke Green
#9AAE07
ΔE00 5.05
Baby Poop Green
#8F9805
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A52A #2A2AA5
analogous
#A5672A #A5A52A #67A52A
triadic
#A5A52A #2AA5A5 #A52AA5
tetradic
#A5A52A #2AA567 #2A2AA5 #A52A67
square
#A5A52A #2AA567 #2A2AA5 #A52A67
split-complementary
#A5A52A #2A67A5 #672AA5
monochromatic
#434311 #74741E #A5A52A #CECE3E #DADA6F
Accessibility & contrast
On white
2.62
#A5A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A5A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A52A
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A52A | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#B19A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a52a; /* rgb */ color: rgb(165, 165, 42); /* oklch */ color: oklch(70.0% 0.139 109.5);
Tailwind
colors: {
custom: {
50: '#c3bf6d',
500: '#a5a52a',
950: '#000000',
},
}SCSS
$custom: #a5a52a; $custom-light: #c3bf6d; $custom-dark: #000000;
JSON
{
"hex": "#a5a52a",
"rgb": {
"r": 165,
"g": 165,
"b": 42
},
"hsl": {
"h": 60,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.70027,
"c": 0.1385,
"h": 109.5
},
"luminance": 0.35077
}Semantic roles & 50–950 ramp
primary
#A5A52A
secondary
#6969C1
accent
#45E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B