#A2A62F#A2A62F
#A2A62F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.137 H 111.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A62F |
|---|---|
| RGB | rgb(162, 166, 47) |
| HSL | hsl(62, 56%, 42%) |
| HSV | hsv(62, 72%, 65%) |
| CMYK | cmyk(2.4%, 0%, 71.7%, 34.9%) |
| CIE-LAB | lab(65.87, -16.10, 57.59) |
| CIE-LCH | lch(65.87, 59.79, 105.62°) |
| OKLab | oklab(70.03% -0.05 0.1278) |
| OKLCH | oklch(70.03% 0.137 111.4) |
| XYZ | xyz(29.0505, 35.1598, 7.9450) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.12
Puke
#A5A502
ΔE00 3.08
Pea Soup Green
#94A617
ΔE00 3.50
Puke Green
#9AAE07
ΔE00 4.39
Pea Soup
#929901
ΔE00 4.66
Barf Green
#94AC02
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A62F #332FA6
analogous
#A66F2F #A2A62F #67A62F
triadic
#A2A62F #2FA2A6 #A62FA2
tetradic
#A2A62F #2FA66F #332FA6 #A62F67
square
#A2A62F #2FA66F #332FA6 #A62F67
split-complementary
#A2A62F #2F67A6 #6F2FA6
monochromatic
#454714 #737621 #A2A62F #C7CB47 #D5D877
Accessibility & contrast
On white
2.61
#A2A62F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A2A62F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A62F
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A62F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A62F | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a62f; /* rgb */ color: rgb(162, 166, 47); /* oklch */ color: oklch(70.0% 0.137 111.4);
Tailwind
colors: {
custom: {
50: '#c1c070',
500: '#a2a62f',
950: '#000000',
},
}SCSS
$custom: #a2a62f; $custom-light: #c1c070; $custom-dark: #000000;
JSON
{
"hex": "#a2a62f",
"rgb": {
"r": 162,
"g": 166,
"b": 47
},
"hsl": {
"h": 62.017,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.70027,
"c": 0.13721,
"h": 111.4
},
"luminance": 0.35159
}Semantic roles & 50–950 ramp
primary
#A2A62F
secondary
#7370C1
accent
#49DF4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B