#A2A531#A2A531
#A2A531 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.135 H 110.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A531 |
|---|---|
| RGB | rgb(162, 165, 49) |
| HSL | hsl(62, 54%, 42%) |
| HSV | hsv(62, 70%, 65%) |
| CMYK | cmyk(1.8%, 0%, 70.3%, 35.3%) |
| CIE-LAB | lab(65.60, -15.48, 56.57) |
| CIE-LCH | lch(65.60, 58.65, 105.30°) |
| OKLab | oklab(69.82% -0.0481 0.126) |
| OKLCH | oklch(69.82% 0.135 110.9) |
| XYZ | xyz(28.9107, 34.8142, 8.1020) |
| Luminance | 0.3481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.26
Puke
#A5A502
ΔE00 3.23
Pea Soup Green
#94A617
ΔE00 3.77
Pea Soup
#929901
ΔE00 4.59
Puke Green
#9AAE07
ΔE00 4.79
Baby Poop Green
#8F9805
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A531 #3431A5
analogous
#A56E31 #A2A531 #68A531
triadic
#A2A531 #31A2A5 #A531A2
tetradic
#A2A531 #31A56E #3431A5 #A53168
square
#A2A531 #31A56E #3431A5 #A53168
split-complementary
#A2A531 #3168A5 #6E31A5
monochromatic
#454715 #747623 #A2A531 #C6C94A #D5D779
Accessibility & contrast
On white
2.64
#A2A531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#A2A531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A531
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A531 | 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)
#B29E1E
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a531; /* rgb */ color: rgb(162, 165, 49); /* oklch */ color: oklch(69.8% 0.135 110.9);
Tailwind
colors: {
custom: {
50: '#c1bf71',
500: '#a2a531',
950: '#000000',
},
}SCSS
$custom: #a2a531; $custom-light: #c1bf71; $custom-dark: #000000;
JSON
{
"hex": "#a2a531",
"rgb": {
"r": 162,
"g": 165,
"b": 49
},
"hsl": {
"h": 61.552,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.69816,
"c": 0.13485,
"h": 110.9
},
"luminance": 0.34813
}Semantic roles & 50–950 ramp
primary
#A2A531
secondary
#7472C0
accent
#4ADE4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B