#A2A42E#A2A42E
#A2A42E is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.136 H 110.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A42E |
|---|---|
| RGB | rgb(162, 164, 46) |
| HSL | hsl(61, 56%, 41%) |
| HSV | hsv(61, 72%, 64%) |
| CMYK | cmyk(1.2%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(65.30, -15.12, 57.40) |
| CIE-LCH | lch(65.30, 59.36, 104.76°) |
| OKLab | oklab(69.57% -0.0474 0.1272) |
| OKLCH | oklch(69.57% 0.136 110.4) |
| XYZ | xyz(28.6699, 34.4303, 7.7197) |
| Luminance | 0.3443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.94
Puke
#A5A502
ΔE00 2.93
Pea Soup Green
#94A617
ΔE00 3.90
Pea Soup
#929901
ΔE00 4.32
Baby Poop Green
#8F9805
ΔE00 4.76
Puke Green
#9AAE07
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A42E #302EA4
analogous
#A46B2E #A2A42E #67A42E
triadic
#A2A42E #2EA2A4 #A42EA2
tetradic
#A2A42E #2EA46B #302EA4 #A42E67
square
#A2A42E #2EA46B #302EA4 #A42E67
split-complementary
#A2A42E #2E67A4 #6B2EA4
monochromatic
#444413 #737421 #A2A42E #C8CB45 #D6D874
Accessibility & contrast
On white
2.66
#A2A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A2A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A42E
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A42E | 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)
#B19D19
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a42e; /* rgb */ color: rgb(162, 164, 46); /* oklch */ color: oklch(69.6% 0.136 110.4);
Tailwind
colors: {
custom: {
50: '#c1be6f',
500: '#a2a42e',
950: '#000000',
},
}SCSS
$custom: #a2a42e; $custom-light: #c1be6f; $custom-dark: #000000;
JSON
{
"hex": "#a2a42e",
"rgb": {
"r": 162,
"g": 164,
"b": 46
},
"hsl": {
"h": 61.017,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.69569,
"c": 0.13573,
"h": 110.4
},
"luminance": 0.3443
}Semantic roles & 50–950 ramp
primary
#A2A42E
secondary
#6F6EC0
accent
#48DF4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B