#A2A72B#A2A72B
#A2A72B is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.141 H 111.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A72B |
|---|---|
| RGB | rgb(162, 167, 43) |
| HSL | hsl(62, 59%, 41%) |
| HSV | hsv(62, 74%, 65%) |
| CMYK | cmyk(3%, 0%, 74.3%, 34.5%) |
| CIE-LAB | lab(66.13, -16.81, 59.26) |
| CIE-LCH | lch(66.13, 61.60, 105.83°) |
| OKLab | oklab(70.23% -0.0524 0.1306) |
| OKLCH | oklch(70.23% 0.141 111.9) |
| XYZ | xyz(29.1560, 35.4940, 7.6002) |
| Luminance | 0.3549 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.91
Puke
#A5A502
ΔE00 2.82
Pea Soup Green
#94A617
ΔE00 3.23
Puke Green
#9AAE07
ΔE00 3.91
Barf Green
#94AC02
ΔE00 4.42
Pea Soup
#929901
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A72B #302BA7
analogous
#A76E2B #A2A72B #64A72B
triadic
#A2A72B #2BA2A7 #A72BA2
tetradic
#A2A72B #2BA76E #302BA7 #A72B64
square
#A2A72B #2BA76E #302BA7 #A72B64
split-complementary
#A2A72B #2B64A7 #6E2BA7
monochromatic
#444612 #73761E #A2A72B #C8CE41 #D6DB72
Accessibility & contrast
On white
2.59
#A2A72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A2A72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A72B
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A72B | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F11
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#AD9D8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a72b; /* rgb */ color: rgb(162, 167, 43); /* oklch */ color: oklch(70.2% 0.141 111.9);
Tailwind
colors: {
custom: {
50: '#c1c06e',
500: '#a2a72b',
950: '#000000',
},
}SCSS
$custom: #a2a72b; $custom-light: #c1c06e; $custom-dark: #000000;
JSON
{
"hex": "#a2a72b",
"rgb": {
"r": 162,
"g": 167,
"b": 43
},
"hsl": {
"h": 62.419,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.70226,
"c": 0.14069,
"h": 111.9
},
"luminance": 0.35493
}Semantic roles & 50–950 ramp
primary
#A2A72B
secondary
#6F6CC2
accent
#46E24C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B