#A2A82F#A2A82F
#A2A82F is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.139 H 112.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A82F |
|---|---|
| RGB | rgb(162, 168, 47) |
| HSL | hsl(63, 56%, 42%) |
| HSV | hsv(63, 72%, 66%) |
| CMYK | cmyk(3.6%, 0%, 72%, 34.1%) |
| CIE-LAB | lab(66.44, -17.12, 58.13) |
| CIE-LCH | lch(66.44, 60.60, 106.41°) |
| OKLab | oklab(70.48% -0.0529 0.1289) |
| OKLCH | oklch(70.48% 0.139 112.3) |
| XYZ | xyz(29.4169, 35.8926, 8.0671) |
| Luminance | 0.3589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.41
Pea Soup Green
#94A617
ΔE00 3.19
Puke
#A5A502
ΔE00 3.29
Puke Green
#9AAE07
ΔE00 3.81
Barf Green
#94AC02
ΔE00 4.31
Mustard Green
#A8B504
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A82F #352FA8
analogous
#A8712F #A2A82F #66A82F
triadic
#A2A82F #2FA2A8 #A82FA2
tetradic
#A2A82F #2FA871 #352FA8 #A82F66
square
#A2A82F #2FA871 #352FA8 #A82F66
split-complementary
#A2A82F #2F66A8 #712FA8
monochromatic
#464814 #747822 #A2A82F #C5CC48 #D4D978
Accessibility & contrast
On white
2.57
#A2A82F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A2A82F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A82F
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A82F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A82F | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a2a82f; /* rgb */ color: rgb(162, 168, 47); /* oklch */ color: oklch(70.5% 0.139 112.3);
Tailwind
colors: {
custom: {
50: '#c1c170',
500: '#a2a82f',
950: '#000000',
},
}SCSS
$custom: #a2a82f; $custom-light: #c1c170; $custom-dark: #000000;
JSON
{
"hex": "#a2a82f",
"rgb": {
"r": 162,
"g": 168,
"b": 47
},
"hsl": {
"h": 62.975,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.70479,
"c": 0.13935,
"h": 112.3
},
"luminance": 0.35892
}Semantic roles & 50–950 ramp
primary
#A2A82F
secondary
#7571C1
accent
#48E050
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B