#A4A02E#A4A02E
#A4A02E is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.131 H 107.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A02E |
|---|---|
| RGB | rgb(164, 160, 46) |
| HSL | hsl(58, 56%, 41%) |
| HSV | hsv(58, 72%, 64%) |
| CMYK | cmyk(0%, 2.4%, 72%, 35.7%) |
| CIE-LAB | lab(64.35, -12.16, 56.53) |
| CIE-LCH | lch(64.35, 57.83, 102.14°) |
| OKLab | oklab(68.85% -0.0392 0.1253) |
| OKLCH | oklch(68.85% 0.131 107.4) |
| XYZ | xyz(28.3749, 33.2323, 7.5041) |
| Luminance | 0.3323 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.65
Puke
#A5A502
ΔE00 3.29
Pea Soup
#929901
ΔE00 4.40
Baby Poop Green
#8F9805
ΔE00 4.92
Pea Soup Green
#94A617
ΔE00 5.50
Baby Shit Green
#889717
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A02E #2E32A4
analogous
#A4652E #A4A02E #6DA42E
triadic
#A4A02E #2EA4A0 #A02EA4
tetradic
#A4A02E #2EA465 #2E32A4 #A42E6D
square
#A4A02E #2EA465 #2E32A4 #A42E6D
split-complementary
#A4A02E #2E6DA4 #652EA4
monochromatic
#444313 #747121 #A4A02E #CBC645 #D8D574
Accessibility & contrast
On white
2.75
#A4A02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#A4A02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A02E
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A02E | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#B0958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a4a02e; /* rgb */ color: rgb(164, 160, 46); /* oklch */ color: oklch(68.8% 0.131 107.4);
Tailwind
colors: {
custom: {
50: '#c2bb6f',
500: '#a4a02e',
950: '#000000',
},
}SCSS
$custom: #a4a02e; $custom-light: #c2bb6f; $custom-dark: #000000;
JSON
{
"hex": "#a4a02e",
"rgb": {
"r": 164,
"g": 160,
"b": 46
},
"hsl": {
"h": 57.966,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.68848,
"c": 0.13128,
"h": 107.4
},
"luminance": 0.33231
}Semantic roles & 50–950 ramp
primary
#A4A02E
secondary
#6E71C0
accent
#4DDF48
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B