#A1A52A#A1A52A
#A1A52A is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.139 H 111.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A52A |
|---|---|
| RGB | rgb(161, 165, 42) |
| HSL | hsl(62, 59%, 41%) |
| HSV | hsv(62, 75%, 65%) |
| CMYK | cmyk(2.4%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(65.48, -16.26, 58.96) |
| CIE-LCH | lch(65.48, 61.16, 105.42°) |
| OKLab | oklab(69.68% -0.0509 0.1298) |
| OKLCH | oklch(69.68% 0.139 111.4) |
| XYZ | xyz(28.5720, 34.6552, 7.3741) |
| Luminance | 0.3466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.69
Puke
#A5A502
ΔE00 2.72
Pea Soup Green
#94A617
ΔE00 3.35
Pea Soup
#929901
ΔE00 4.24
Puke Green
#9AAE07
ΔE00 4.33
Baby Poop Green
#8F9805
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A52A #2E2AA5
analogous
#A56B2A #A1A52A #63A52A
triadic
#A1A52A #2AA1A5 #A52AA1
tetradic
#A1A52A #2AA56B #2E2AA5 #A52A63
square
#A1A52A #2AA56B #2E2AA5 #A52A63
split-complementary
#A1A52A #2A63A5 #6B2AA5
monochromatic
#424311 #71741E #A1A52A #C9CE3E #D7DA6F
Accessibility & contrast
On white
2.65
#A1A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#A1A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A52A
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A52A | 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)
#B29D0F
Deuteranopia (green-blind)
#B3A034
Tritanopia (blue-blind)
#AC9B8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a1a52a; /* rgb */ color: rgb(161, 165, 42); /* oklch */ color: oklch(69.7% 0.139 111.4);
Tailwind
colors: {
custom: {
50: '#c0bf6d',
500: '#a1a52a',
950: '#000000',
},
}SCSS
$custom: #a1a52a; $custom-light: #c0bf6d; $custom-dark: #000000;
JSON
{
"hex": "#a1a52a",
"rgb": {
"r": 161,
"g": 165,
"b": 42
},
"hsl": {
"h": 61.951,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.69683,
"c": 0.13942,
"h": 111.4
},
"luminance": 0.34655
}Semantic roles & 50–950 ramp
primary
#A1A52A
secondary
#6C69C1
accent
#45E34A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B