#A2A652#A2A652
#A2A652 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.108 H 111.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A652 |
|---|---|
| RGB | rgb(162, 166, 82) |
| HSL | hsl(63, 34%, 49%) |
| HSV | hsv(63, 51%, 65%) |
| CMYK | cmyk(2.4%, 0%, 50.6%, 34.9%) |
| CIE-LAB | lab(66.19, -13.59, 42.56) |
| CIE-LCH | lch(66.19, 44.68, 107.71°) |
| OKLab | oklab(70.38% -0.0392 0.1006) |
| OKLCH | oklch(70.38% 0.108 111.3) |
| XYZ | xyz(30.0601, 35.5636, 13.2620) |
| Luminance | 0.3556 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.50
Darkkhaki
#BDB76B
ΔE00 6.31
Vomit
#A2A415
ΔE00 6.65
Pea Soup Green
#94A617
ΔE00 6.69
Booger
#9BB53C
ΔE00 6.86
Moss Green
#8A9A5B
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A652 #5652A6
analogous
#A68052 #A2A652 #78A652
triadic
#A2A652 #52A2A6 #A652A2
tetradic
#A2A652 #52A680 #5652A6 #A65278
square
#A2A652 #52A680 #5652A6 #A65278
split-complementary
#A2A652 #5278A6 #8052A6
monochromatic
#52542A #7A7D3E #A2A652 #B9BD79 #CFD1A2
Accessibility & contrast
On white
2.59
#A2A652 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#A2A652 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A652
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A652 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A652 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B1A256
Tritanopia (blue-blind)
#AB9D93
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a652; /* rgb */ color: rgb(162, 166, 82); /* oklch */ color: oklch(70.4% 0.108 111.3);
Tailwind
colors: {
custom: {
50: '#bfc085',
500: '#a2a652',
950: '#000000',
},
}SCSS
$custom: #a2a652; $custom-light: #bfc085; $custom-dark: #000000;
JSON
{
"hex": "#a2a652",
"rgb": {
"r": 162,
"g": 166,
"b": 82
},
"hsl": {
"h": 62.857,
"s": 33.871,
"l": 48.627
},
"oklch": {
"l": 0.70377,
"c": 0.10796,
"h": 111.3
},
"luminance": 0.35563
}Semantic roles & 50–950 ramp
primary
#A2A652
secondary
#9896BE
accent
#5ECA63
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C