#A4A42A#A4A42A
#A4A42A is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.138 H 109.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A42A |
|---|---|
| RGB | rgb(164, 164, 42) |
| HSL | hsl(60, 59%, 40%) |
| HSV | hsv(60, 74%, 64%) |
| CMYK | cmyk(0%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(65.45, -14.43, 59.01) |
| CIE-LCH | lch(65.45, 60.75, 103.74°) |
| OKLab | oklab(69.72% -0.046 0.1298) |
| OKLCH | oklch(69.72% 0.138 109.5) |
| XYZ | xyz(29.0043, 34.6115, 7.3429) |
| Luminance | 0.3461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.52
Puke
#A5A502
ΔE00 2.35
Pea Soup Green
#94A617
ΔE00 4.33
Pea Soup
#929901
ΔE00 4.42
Baby Poop Green
#8F9805
ΔE00 4.95
Puke Green
#9AAE07
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A42A #2A2AA4
analogous
#A4672A #A4A42A #67A42A
triadic
#A4A42A #2AA4A4 #A42AA4
tetradic
#A4A42A #2AA467 #2A2AA4 #A42A67
square
#A4A42A #2AA467 #2A2AA4 #A42A67
split-complementary
#A4A42A #2A67A4 #672AA4
monochromatic
#434311 #73731E #A4A42A #CDCD3E #DADA6E
Accessibility & contrast
On white
2.65
#A4A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A4A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A42A
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A42A | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D10
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a4a42a; /* rgb */ color: rgb(164, 164, 42); /* oklch */ color: oklch(69.7% 0.138 109.5);
Tailwind
colors: {
custom: {
50: '#c2be6d',
500: '#a4a42a',
950: '#000000',
},
}SCSS
$custom: #a4a42a; $custom-light: #c2be6d; $custom-dark: #000000;
JSON
{
"hex": "#a4a42a",
"rgb": {
"r": 164,
"g": 164,
"b": 42
},
"hsl": {
"h": 60,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.69716,
"c": 0.13771,
"h": 109.5
},
"luminance": 0.34611
}Semantic roles & 50–950 ramp
primary
#A4A42A
secondary
#6969C1
accent
#45E245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B