#A2A02A#A2A02A
#A2A02A is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.134 H 108.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A02A |
|---|---|
| RGB | rgb(162, 160, 42) |
| HSL | hsl(59, 59%, 40%) |
| HSV | hsv(59, 74%, 64%) |
| CMYK | cmyk(0%, 1.2%, 74.1%, 36.5%) |
| CIE-LAB | lab(64.15, -13.23, 57.74) |
| CIE-LCH | lch(64.15, 59.24, 102.91°) |
| OKLab | oklab(68.64% -0.0425 0.1272) |
| OKLCH | oklch(68.64% 0.134 108.5) |
| XYZ | xyz(27.8901, 32.9911, 7.0888) |
| Luminance | 0.3299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.19
Puke
#A5A502
ΔE00 2.96
Pea Soup
#929901
ΔE00 3.86
Baby Poop Green
#8F9805
ΔE00 4.40
Pea Soup Green
#94A617
ΔE00 4.93
Baby Shit Green
#889717
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A02A #2A2CA2
analogous
#A2642A #A2A02A #68A22A
triadic
#A2A02A #2AA2A0 #A02AA2
tetradic
#A2A02A #2AA264 #2A2CA2 #A22A68
square
#A2A02A #2AA264 #2A2CA2 #A22A68
split-complementary
#A2A02A #2A68A2 #642AA2
monochromatic
#414011 #71701D #A2A02A #CDCA3D #D9D76D
Accessibility & contrast
On white
2.76
#A2A02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#A2A02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A02A
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A02A | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a2a02a; /* rgb */ color: rgb(162, 160, 42); /* oklch */ color: oklch(68.6% 0.134 108.5);
Tailwind
colors: {
custom: {
50: '#c1bb6d',
500: '#a2a02a',
950: '#000000',
},
}SCSS
$custom: #a2a02a; $custom-light: #c1bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a2a02a",
"rgb": {
"r": 162,
"g": 160,
"b": 42
},
"hsl": {
"h": 59,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.68644,
"c": 0.13409,
"h": 108.5
},
"luminance": 0.3299
}Semantic roles & 50–950 ramp
primary
#A2A02A
secondary
#6869C0
accent
#48E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A