#A2A12E#A2A12E
#A2A12E is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.133 H 108.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A12E |
|---|---|
| RGB | rgb(162, 161, 46) |
| HSL | hsl(59, 56%, 41%) |
| HSV | hsv(59, 72%, 64%) |
| CMYK | cmyk(0%, 0.6%, 71.6%, 36.5%) |
| CIE-LAB | lab(64.46, -13.56, 56.58) |
| CIE-LCH | lch(64.46, 58.18, 103.48°) |
| OKLab | oklab(68.9% -0.043 0.1255) |
| OKLCH | oklch(68.9% 0.133 108.9) |
| XYZ | xyz(28.1393, 33.3692, 7.5429) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.29
Puke
#A5A502
ΔE00 3.16
Pea Soup
#929901
ΔE00 4.06
Baby Poop Green
#8F9805
ΔE00 4.54
Pea Soup Green
#94A617
ΔE00 4.71
Baby Shit Green
#889717
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A12E #2E2FA2
analogous
#A2672E #A2A12E #69A22E
triadic
#A2A12E #2EA2A1 #A12EA2
tetradic
#A2A12E #2EA267 #2E2FA2 #A22E69
square
#A2A12E #2EA267 #2E2FA2 #A22E69
split-complementary
#A2A12E #2E69A2 #672EA2
monochromatic
#434213 #727220 #A2A12E #CAC943 #D7D673
Accessibility & contrast
On white
2.74
#A2A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A2A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A12E
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A12E | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a2a12e; /* rgb */ color: rgb(162, 161, 46); /* oklch */ color: oklch(68.9% 0.133 108.9);
Tailwind
colors: {
custom: {
50: '#c1bc6f',
500: '#a2a12e',
950: '#000000',
},
}SCSS
$custom: #a2a12e; $custom-light: #c1bc6f; $custom-dark: #000000;
JSON
{
"hex": "#a2a12e",
"rgb": {
"r": 162,
"g": 161,
"b": 46
},
"hsl": {
"h": 59.483,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.68895,
"c": 0.13264,
"h": 108.9
},
"luminance": 0.33368
}Semantic roles & 50–950 ramp
primary
#A2A12E
secondary
#6D6EBF
accent
#4ADF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B