#A4A462#A4A462
#A4A462 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.088 H 108.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A462 |
|---|---|
| RGB | rgb(164, 164, 98) |
| HSL | hsl(60, 27%, 51%) |
| HSV | hsv(60, 40%, 64%) |
| CMYK | cmyk(0%, 0%, 40.2%, 35.7%) |
| CIE-LAB | lab(66.00, -10.06, 34.22) |
| CIE-LCH | lch(66.00, 35.67, 106.38°) |
| OKLab | oklab(70.34% -0.0278 0.0832) |
| OKLCH | oklch(70.34% 0.088 108.5) |
| XYZ | xyz(30.7903, 35.3259, 16.7495) |
| Luminance | 0.3533 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.55
Darkkhaki
#BDB76B
ΔE00 6.22
Moss Green
#8A9A5B
ΔE00 6.29
Dark Khaki
#9B8F55
ΔE00 7.19
Sand
#C2B280
ΔE00 8.26
Tan Green
#A9BE70
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A462 #6262A4
analogous
#A48362 #A4A462 #83A462
triadic
#A4A462 #62A4A4 #A462A4
tetradic
#A4A462 #62A483 #6262A4 #A46283
square
#A4A462 #62A483 #6262A4 #A46283
split-complementary
#A4A462 #6283A4 #8362A4
monochromatic
#585833 #7F7F4A #A4A462 #BABA89 #D1D1AF
Accessibility & contrast
On white
2.60
#A4A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#A4A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A462
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A462 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#AFA265
Tritanopia (blue-blind)
#AD9C94
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a4a462; /* rgb */ color: rgb(164, 164, 98); /* oklch */ color: oklch(70.3% 0.088 108.5);
Tailwind
colors: {
custom: {
50: '#c0be90',
500: '#a4a462',
950: '#000000',
},
}SCSS
$custom: #a4a462; $custom-light: #c0be90; $custom-dark: #000000;
JSON
{
"hex": "#a4a462",
"rgb": {
"r": 164,
"g": 164,
"b": 98
},
"hsl": {
"h": 60,
"s": 26.613,
"l": 51.373
},
"oklch": {
"l": 0.70339,
"c": 0.0877,
"h": 108.5
},
"luminance": 0.35325
}Semantic roles & 50–950 ramp
primary
#A4A462
secondary
#A2A2BF
accent
#65C365
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D