#A4A42E#A4A42E
#A4A42E is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.135 H 109.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A42E |
|---|---|
| RGB | rgb(164, 164, 46) |
| HSL | hsl(60, 56%, 41%) |
| HSV | hsv(60, 72%, 64%) |
| CMYK | cmyk(0%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(65.47, -14.24, 57.62) |
| CIE-LCH | lch(65.47, 59.35, 103.89°) |
| OKLab | oklab(69.74% -0.045 0.1276) |
| OKLCH | oklch(69.74% 0.135 109.4) |
| XYZ | xyz(29.0795, 34.6416, 7.7389) |
| Luminance | 0.3464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Puke
#A5A502
ΔE00 2.73
Pea Soup Green
#94A617
ΔE00 4.39
Pea Soup
#929901
ΔE00 4.54
Baby Poop Green
#8F9805
ΔE00 5.04
Puke Green
#9AAE07
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A42E #2E2EA4
analogous
#A4692E #A4A42E #69A42E
triadic
#A4A42E #2EA4A4 #A42EA4
tetradic
#A4A42E #2EA469 #2E2EA4 #A42E69
square
#A4A42E #2EA469 #2E2EA4 #A42E69
split-complementary
#A4A42E #2E69A4 #692EA4
monochromatic
#444413 #747421 #A4A42E #CBCB45 #D8D874
Accessibility & contrast
On white
2.65
#A4A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#A4A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A42E
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A42E | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a4a42e; /* rgb */ color: rgb(164, 164, 46); /* oklch */ color: oklch(69.7% 0.135 109.4);
Tailwind
colors: {
custom: {
50: '#c2be6f',
500: '#a4a42e',
950: '#000000',
},
}SCSS
$custom: #a4a42e; $custom-light: #c2be6f; $custom-dark: #000000;
JSON
{
"hex": "#a4a42e",
"rgb": {
"r": 164,
"g": 164,
"b": 46
},
"hsl": {
"h": 60,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.69742,
"c": 0.13531,
"h": 109.4
},
"luminance": 0.34641
}Semantic roles & 50–950 ramp
primary
#A4A42E
secondary
#6E6EC0
accent
#48DF48
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B