#A2A52B#A2A52B
#A2A52B 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 | #A2A52B |
|---|---|
| RGB | rgb(162, 165, 43) |
| HSL | hsl(61, 59%, 41%) |
| HSV | hsv(61, 74%, 65%) |
| CMYK | cmyk(1.8%, 0%, 73.9%, 35.3%) |
| CIE-LAB | lab(65.57, -15.78, 58.72) |
| CIE-LCH | lch(65.57, 60.81, 105.04°) |
| OKLab | oklab(69.77% -0.0495 0.1295) |
| OKLCH | oklch(69.77% 0.139 110.9) |
| XYZ | xyz(28.7925, 34.7668, 7.4790) |
| Luminance | 0.3477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.67
Puke
#A5A502
ΔE00 2.66
Pea Soup Green
#94A617
ΔE00 3.61
Pea Soup
#929901
ΔE00 4.35
Puke Green
#9AAE07
ΔE00 4.53
Baby Poop Green
#8F9805
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A52B #2E2BA5
analogous
#A56B2B #A2A52B #65A52B
triadic
#A2A52B #2BA2A5 #A52BA2
tetradic
#A2A52B #2BA56B #2E2BA5 #A52B65
square
#A2A52B #2BA56B #2E2BA5 #A52B65
split-complementary
#A2A52B #2B65A5 #6B2BA5
monochromatic
#434412 #72741E #A2A52B #CACD40 #D7DA71
Accessibility & contrast
On white
2.64
#A2A52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#A2A52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A52B
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A52B | 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)
#B29E12
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a52b; /* rgb */ color: rgb(162, 165, 43); /* oklch */ color: oklch(69.8% 0.139 110.9);
Tailwind
colors: {
custom: {
50: '#c1bf6e',
500: '#a2a52b',
950: '#000000',
},
}SCSS
$custom: #a2a52b; $custom-light: #c1bf6e; $custom-dark: #000000;
JSON
{
"hex": "#a2a52b",
"rgb": {
"r": 162,
"g": 165,
"b": 43
},
"hsl": {
"h": 61.475,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.69775,
"c": 0.13859,
"h": 110.9
},
"luminance": 0.34766
}Semantic roles & 50–950 ramp
primary
#A2A52B
secondary
#6D6BC1
accent
#46E24A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B