#A2A52A#A2A52A
#A2A52A is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.139 H 110.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A52A |
|---|---|
| RGB | rgb(162, 165, 42) |
| HSL | hsl(61, 59%, 41%) |
| HSV | hsv(61, 75%, 65%) |
| CMYK | cmyk(1.8%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(65.56, -15.82, 59.06) |
| CIE-LCH | lch(65.56, 61.15, 105.00°) |
| OKLab | oklab(69.77% -0.0497 0.13) |
| OKLCH | oklch(69.77% 0.139 110.9) |
| XYZ | xyz(28.7743, 34.7596, 7.3836) |
| Luminance | 0.3476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.57
Puke
#A5A502
ΔE00 2.57
Pea Soup Green
#94A617
ΔE00 3.59
Pea Soup
#929901
ΔE00 4.32
Puke Green
#9AAE07
ΔE00 4.49
Baby Poop Green
#8F9805
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A52A #2D2AA5
analogous
#A56A2A #A2A52A #65A52A
triadic
#A2A52A #2AA2A5 #A52AA2
tetradic
#A2A52A #2AA56A #2D2AA5 #A52A65
square
#A2A52A #2AA56A #2D2AA5 #A52A65
split-complementary
#A2A52A #2A65A5 #6A2AA5
monochromatic
#424311 #72741E #A2A52A #CACE3E #D8DA6F
Accessibility & contrast
On white
2.64
#A2A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#A2A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A52A
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A52A | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D0F
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#AE9A8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a52a; /* rgb */ color: rgb(162, 165, 42); /* oklch */ color: oklch(69.8% 0.139 110.9);
Tailwind
colors: {
custom: {
50: '#c1bf6d',
500: '#a2a52a',
950: '#000000',
},
}SCSS
$custom: #a2a52a; $custom-light: #c1bf6d; $custom-dark: #000000;
JSON
{
"hex": "#a2a52a",
"rgb": {
"r": 162,
"g": 165,
"b": 42
},
"hsl": {
"h": 61.463,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.69768,
"c": 0.13918,
"h": 110.9
},
"luminance": 0.34759
}Semantic roles & 50–950 ramp
primary
#A2A52A
secondary
#6C69C1
accent
#45E349
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B