#A2A42A#A2A42A
#A2A42A is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.138 H 110.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A42A |
|---|---|
| RGB | rgb(162, 164, 42) |
| HSL | hsl(61, 59%, 40%) |
| HSV | hsv(61, 74%, 64%) |
| CMYK | cmyk(1.2%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(65.28, -15.31, 58.80) |
| CIE-LCH | lch(65.28, 60.76, 104.59°) |
| OKLab | oklab(69.54% -0.0483 0.1294) |
| OKLCH | oklch(69.54% 0.138 110.5) |
| XYZ | xyz(28.5947, 34.4003, 7.3237) |
| Luminance | 0.3440 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.55
Puke
#A5A502
ΔE00 2.55
Pea Soup Green
#94A617
ΔE00 3.82
Pea Soup
#929901
ΔE00 4.17
Baby Poop Green
#8F9805
ΔE00 4.66
Puke Green
#9AAE07
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A42A #2C2AA4
analogous
#A4692A #A2A42A #65A42A
triadic
#A2A42A #2AA2A4 #A42AA2
tetradic
#A2A42A #2AA469 #2C2AA4 #A42A65
square
#A2A42A #2AA469 #2C2AA4 #A42A65
split-complementary
#A2A42A #2A65A4 #692AA4
monochromatic
#424311 #72731E #A2A42A #CBCD3E #D8DA6E
Accessibility & contrast
On white
2.67
#A2A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A2A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A42A
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A42A | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D10
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#AE998D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a42a; /* rgb */ color: rgb(162, 164, 42); /* oklch */ color: oklch(69.5% 0.138 110.5);
Tailwind
colors: {
custom: {
50: '#c1be6d',
500: '#a2a42a',
950: '#000000',
},
}SCSS
$custom: #a2a42a; $custom-light: #c1be6d; $custom-dark: #000000;
JSON
{
"hex": "#a2a42a",
"rgb": {
"r": 162,
"g": 164,
"b": 42
},
"hsl": {
"h": 60.984,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.69543,
"c": 0.13815,
"h": 110.5
},
"luminance": 0.34399
}Semantic roles & 50–950 ramp
primary
#A2A42A
secondary
#6A69C1
accent
#45E248
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B