#A2A462#A2A462
#A2A462 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.088 H 110.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A462 |
|---|---|
| RGB | rgb(162, 164, 98) |
| HSL | hsl(62, 27%, 51%) |
| HSV | hsv(62, 40%, 64%) |
| CMYK | cmyk(1.2%, 0%, 40.2%, 35.7%) |
| CIE-LAB | lab(65.84, -10.88, 33.98) |
| CIE-LCH | lch(65.84, 35.68, 107.76°) |
| OKLab | oklab(70.17% -0.03 0.0827) |
| OKLCH | oklch(70.17% 0.088 110) |
| XYZ | xyz(30.3807, 35.1147, 16.7303) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.12
Moss Green
#8A9A5B
ΔE00 5.76
Darkkhaki
#BDB76B
ΔE00 6.54
Dark Khaki
#9B8F55
ΔE00 7.45
Tan Green
#A9BE70
ΔE00 8.03
Light Olive
#ACBF69
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A462 #6462A4
analogous
#A48562 #A2A462 #81A462
triadic
#A2A462 #62A2A4 #A462A2
tetradic
#A2A462 #62A485 #6462A4 #A46281
square
#A2A462 #62A485 #6462A4 #A46281
split-complementary
#A2A462 #6281A4 #8562A4
monochromatic
#575833 #7E7F4A #A2A462 #B9BA89 #D0D1AF
Accessibility & contrast
On white
2.62
#A2A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A2A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A462
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A462 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#AA9D94
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a2a462; /* rgb */ color: rgb(162, 164, 98); /* oklch */ color: oklch(70.2% 0.088 110.0);
Tailwind
colors: {
custom: {
50: '#bebe90',
500: '#a2a462',
950: '#000000',
},
}SCSS
$custom: #a2a462; $custom-light: #bebe90; $custom-dark: #000000;
JSON
{
"hex": "#a2a462",
"rgb": {
"r": 162,
"g": 164,
"b": 98
},
"hsl": {
"h": 61.818,
"s": 26.613,
"l": 51.373
},
"oklch": {
"l": 0.70169,
"c": 0.08795,
"h": 110
},
"luminance": 0.35114
}Semantic roles & 50–950 ramp
primary
#A2A462
secondary
#A3A2BF
accent
#65C368
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D