#A3A42A#A3A42A
#A3A42A is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.138 H 110.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A42A |
|---|---|
| RGB | rgb(163, 164, 42) |
| HSL | hsl(60, 59%, 40%) |
| HSV | hsv(60, 74%, 64%) |
| CMYK | cmyk(0.6%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(65.36, -14.87, 58.91) |
| CIE-LCH | lch(65.36, 60.76, 104.17°) |
| OKLab | oklab(69.63% -0.0471 0.1296) |
| OKLCH | oklch(69.63% 0.138 110) |
| XYZ | xyz(28.7987, 34.5055, 7.3332) |
| Luminance | 0.3451 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.51
Puke
#A5A502
ΔE00 2.44
Pea Soup Green
#94A617
ΔE00 4.07
Pea Soup
#929901
ΔE00 4.29
Baby Poop Green
#8F9805
ΔE00 4.80
Puke Green
#9AAE07
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A42A #2B2AA4
analogous
#A4682A #A3A42A #66A42A
triadic
#A3A42A #2AA3A4 #A42AA3
tetradic
#A3A42A #2AA468 #2B2AA4 #A42A66
square
#A3A42A #2AA468 #2B2AA4 #A42A66
split-complementary
#A3A42A #2A66A4 #682AA4
monochromatic
#424311 #73731E #A3A42A #CCCD3E #D9DA6E
Accessibility & contrast
On white
2.66
#A3A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A3A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A42A
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A42A | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D10
Deuteranopia (green-blind)
#B3A034
Tritanopia (blue-blind)
#AF998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a3a42a; /* rgb */ color: rgb(163, 164, 42); /* oklch */ color: oklch(69.6% 0.138 110.0);
Tailwind
colors: {
custom: {
50: '#c2be6d',
500: '#a3a42a',
950: '#000000',
},
}SCSS
$custom: #a3a42a; $custom-light: #c2be6d; $custom-dark: #000000;
JSON
{
"hex": "#a3a42a",
"rgb": {
"r": 163,
"g": 164,
"b": 42
},
"hsl": {
"h": 60.492,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.69629,
"c": 0.13792,
"h": 110
},
"luminance": 0.34505
}Semantic roles & 50–950 ramp
primary
#A3A42A
secondary
#6A69C1
accent
#45E247
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B