#A2A71E#A2A71E
#A2A71E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.147 H 111.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A71E |
|---|---|
| RGB | rgb(162, 167, 30) |
| HSL | hsl(62, 70%, 39%) |
| HSV | hsv(62, 82%, 65%) |
| CMYK | cmyk(3%, 0%, 82%, 34.5%) |
| CIE-LAB | lab(66.07, -17.32, 63.18) |
| CIE-LCH | lch(66.07, 65.51, 105.33°) |
| OKLab | oklab(70.16% -0.0548 0.1366) |
| OKLCH | oklch(70.16% 0.147 111.9) |
| XYZ | xyz(28.9544, 35.4133, 6.5383) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.18
Puke
#A5A502
ΔE00 1.94
Pea Soup Green
#94A617
ΔE00 3.23
Puke Green
#9AAE07
ΔE00 3.61
Barf Green
#94AC02
ΔE00 4.21
Mustard Green
#A8B504
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A71E #231EA7
analogous
#A7671E #A2A71E #5DA71E
triadic
#A2A71E #1EA2A7 #A71EA2
tetradic
#A2A71E #1EA767 #231EA7 #A71E5D
square
#A2A71E #1EA767 #231EA7 #A71E5D
split-complementary
#A2A71E #1E5DA7 #671EA7
monochromatic
#3D3F0B #707315 #A2A71E #D2D92A #DDE25D
Accessibility & contrast
On white
2.60
#A2A71E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A2A71E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A71E
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A71E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A71E | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#AE9C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a71e; /* rgb */ color: rgb(162, 167, 30); /* oklch */ color: oklch(70.2% 0.147 111.9);
Tailwind
colors: {
custom: {
50: '#c1c068',
500: '#a2a71e',
950: '#000000',
},
}SCSS
$custom: #a2a71e; $custom-light: #c1c068; $custom-dark: #000000;
JSON
{
"hex": "#a2a71e",
"rgb": {
"r": 162,
"g": 167,
"b": 30
},
"hsl": {
"h": 62.19,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.70157,
"c": 0.14718,
"h": 111.9
},
"luminance": 0.35413
}Semantic roles & 50–950 ramp
primary
#A2A71E
secondary
#5E5BC6
accent
#3BEC42
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A