#A2A72F#A2A72F
#A2A72F is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.138 H 111.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A72F |
|---|---|
| RGB | rgb(162, 167, 47) |
| HSL | hsl(63, 56%, 42%) |
| HSV | hsv(63, 72%, 65%) |
| CMYK | cmyk(3%, 0%, 71.9%, 34.5%) |
| CIE-LAB | lab(66.16, -16.61, 57.86) |
| CIE-LCH | lch(66.16, 60.20, 106.02°) |
| OKLab | oklab(70.25% -0.0515 0.1283) |
| OKLCH | oklch(70.25% 0.138 111.8) |
| XYZ | xyz(29.2330, 35.5248, 8.0058) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.24
Puke
#A5A502
ΔE00 3.17
Pea Soup Green
#94A617
ΔE00 3.33
Puke Green
#9AAE07
ΔE00 4.09
Barf Green
#94AC02
ΔE00 4.56
Pea Soup
#929901
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A72F #342FA7
analogous
#A7702F #A2A72F #66A72F
triadic
#A2A72F #2FA2A7 #A72FA2
tetradic
#A2A72F #2FA770 #342FA7 #A72F66
square
#A2A72F #2FA770 #342FA7 #A72F66
split-complementary
#A2A72F #2F66A7 #702FA7
monochromatic
#454714 #747722 #A2A72F #C6CB48 #D5D978
Accessibility & contrast
On white
2.59
#A2A72F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A2A72F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A72F
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A72F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A72F | 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)
#B49F19
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a72f; /* rgb */ color: rgb(162, 167, 47); /* oklch */ color: oklch(70.3% 0.138 111.8);
Tailwind
colors: {
custom: {
50: '#c1c070',
500: '#a2a72f',
950: '#000000',
},
}SCSS
$custom: #a2a72f; $custom-light: #c1c070; $custom-dark: #000000;
JSON
{
"hex": "#a2a72f",
"rgb": {
"r": 162,
"g": 167,
"b": 47
},
"hsl": {
"h": 62.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.70253,
"c": 0.13827,
"h": 111.8
},
"luminance": 0.35524
}Semantic roles & 50–950 ramp
primary
#A2A72F
secondary
#7471C1
accent
#48DF4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B