#A2A52E#A2A52E
#A2A52E is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.137 H 110.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A52E |
|---|---|
| RGB | rgb(162, 165, 46) |
| HSL | hsl(62, 56%, 41%) |
| HSV | hsv(62, 72%, 65%) |
| CMYK | cmyk(1.8%, 0%, 72.1%, 35.3%) |
| CIE-LAB | lab(65.58, -15.63, 57.67) |
| CIE-LCH | lch(65.58, 59.75, 105.17°) |
| OKLab | oklab(69.8% -0.0488 0.1278) |
| OKLCH | oklch(69.8% 0.137 110.9) |
| XYZ | xyz(28.8495, 34.7897, 7.7796) |
| Luminance | 0.3479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.95
Puke
#A5A502
ΔE00 2.94
Pea Soup Green
#94A617
ΔE00 3.67
Pea Soup
#929901
ΔE00 4.46
Puke Green
#9AAE07
ΔE00 4.65
Baby Poop Green
#8F9805
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A52E #312EA5
analogous
#A56D2E #A2A52E #67A52E
triadic
#A2A52E #2EA2A5 #A52EA2
tetradic
#A2A52E #2EA56D #312EA5 #A52E67
square
#A2A52E #2EA56D #312EA5 #A52E67
split-complementary
#A2A52E #2E67A5 #6D2EA5
monochromatic
#444513 #737521 #A2A52E #C8CB45 #D6D875
Accessibility & contrast
On white
2.64
#A2A52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#A2A52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A52E
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A52E | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E18
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a52e; /* rgb */ color: rgb(162, 165, 46); /* oklch */ color: oklch(69.8% 0.137 110.9);
Tailwind
colors: {
custom: {
50: '#c1bf6f',
500: '#a2a52e',
950: '#000000',
},
}SCSS
$custom: #a2a52e; $custom-light: #c1bf6f; $custom-dark: #000000;
JSON
{
"hex": "#a2a52e",
"rgb": {
"r": 162,
"g": 165,
"b": 46
},
"hsl": {
"h": 61.513,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.69795,
"c": 0.13678,
"h": 110.9
},
"luminance": 0.34789
}Semantic roles & 50–950 ramp
primary
#A2A52E
secondary
#716FC0
accent
#48E04C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B