#A2A431#A2A431
#A2A431 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.134 H 110.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A431 |
|---|---|
| RGB | rgb(162, 164, 49) |
| HSL | hsl(61, 54%, 42%) |
| HSV | hsv(61, 70%, 64%) |
| CMYK | cmyk(1.2%, 0%, 70.1%, 35.7%) |
| CIE-LAB | lab(65.32, -14.96, 56.30) |
| CIE-LCH | lch(65.32, 58.25, 104.88°) |
| OKLab | oklab(69.59% -0.0466 0.1254) |
| OKLCH | oklch(69.59% 0.134 110.4) |
| XYZ | xyz(28.7311, 34.4548, 8.0421) |
| Luminance | 0.3445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.26
Puke
#A5A502
ΔE00 3.23
Pea Soup Green
#94A617
ΔE00 4.00
Pea Soup
#929901
ΔE00 4.45
Baby Poop Green
#8F9805
ΔE00 4.86
Puke Green
#9AAE07
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A431 #3331A4
analogous
#A46C31 #A2A431 #69A431
triadic
#A2A431 #31A2A4 #A431A2
tetradic
#A2A431 #31A46C #3331A4 #A43169
square
#A2A431 #31A46C #3331A4 #A43169
split-complementary
#A2A431 #3169A4 #6C31A4
monochromatic
#454615 #737523 #A2A431 #C7C949 #D5D779
Accessibility & contrast
On white
2.66
#A2A431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A2A431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A431
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A431 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a431; /* rgb */ color: rgb(162, 164, 49); /* oklch */ color: oklch(69.6% 0.134 110.4);
Tailwind
colors: {
custom: {
50: '#c1be71',
500: '#a2a431',
950: '#000000',
},
}SCSS
$custom: #a2a431; $custom-light: #c1be71; $custom-dark: #000000;
JSON
{
"hex": "#a2a431",
"rgb": {
"r": 162,
"g": 164,
"b": 49
},
"hsl": {
"h": 61.043,
"s": 53.991,
"l": 41.765
},
"oklch": {
"l": 0.69591,
"c": 0.1338,
"h": 110.4
},
"luminance": 0.34454
}Semantic roles & 50–950 ramp
primary
#A2A431
secondary
#7372BF
accent
#4ADD4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B