#A2A162#A2A162
#A2A162 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.084 H 107.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A162 |
|---|---|
| RGB | rgb(162, 161, 98) |
| HSL | hsl(59, 26%, 51%) |
| HSV | hsv(59, 40%, 64%) |
| CMYK | cmyk(0%, 0.6%, 39.5%, 36.5%) |
| CIE-LAB | lab(65.01, -9.29, 32.92) |
| CIE-LCH | lch(65.01, 34.21, 105.77°) |
| OKLab | oklab(69.51% -0.0255 0.0803) |
| OKLCH | oklch(69.51% 0.084 107.6) |
| XYZ | xyz(29.8502, 34.0536, 16.5534) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.14
Moss Green
#8A9A5B
ΔE00 5.96
Dark Khaki
#9B8F55
ΔE00 6.29
Darkkhaki
#BDB76B
ΔE00 7.07
Sand
#C2B280
ΔE00 8.43
Camo
#7F8F4E
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A162 #6263A2
analogous
#A28162 #A2A162 #83A262
triadic
#A2A162 #62A2A1 #A162A2
tetradic
#A2A162 #62A281 #6263A2 #A26283
square
#A2A162 #62A281 #6263A2 #A26283
split-complementary
#A2A162 #6283A2 #8162A2
monochromatic
#565633 #7D7C4A #A2A162 #B9B888 #D0CFAF
Accessibility & contrast
On white
2.69
#A2A162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A2A162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A162
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A162 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9C5D
Deuteranopia (green-blind)
#AC9F65
Tritanopia (blue-blind)
#AA9A91
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a162; /* rgb */ color: rgb(162, 161, 98); /* oklch */ color: oklch(69.5% 0.084 107.6);
Tailwind
colors: {
custom: {
50: '#bebc8f',
500: '#a2a162',
950: '#000000',
},
}SCSS
$custom: #a2a162; $custom-light: #bebc8f; $custom-dark: #000000;
JSON
{
"hex": "#a2a162",
"rgb": {
"r": 162,
"g": 161,
"b": 98
},
"hsl": {
"h": 59.063,
"s": 25.6,
"l": 50.98
},
"oklch": {
"l": 0.69507,
"c": 0.08421,
"h": 107.6
},
"luminance": 0.34053
}Semantic roles & 50–950 ramp
primary
#A2A162
secondary
#A2A2BE
accent
#67C266
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D