#A6A462#A6A462
#A6A462 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.088 H 106.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A462 |
|---|---|
| RGB | rgb(166, 164, 98) |
| HSL | hsl(58, 28%, 52%) |
| HSV | hsv(58, 41%, 65%) |
| CMYK | cmyk(0%, 1.2%, 41%, 34.9%) |
| CIE-LAB | lab(66.17, -9.23, 34.46) |
| CIE-LCH | lch(66.17, 35.68, 105.00°) |
| OKLab | oklab(70.51% -0.0255 0.0837) |
| OKLCH | oklch(70.51% 0.088 106.9) |
| XYZ | xyz(31.2064, 35.5405, 16.7690) |
| Luminance | 0.3554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.02
Darkkhaki
#BDB76B
ΔE00 5.95
Moss Green
#8A9A5B
ΔE00 6.83
Dark Khaki
#9B8F55
ΔE00 6.98
Sand
#C2B280
ΔE00 7.82
Tan Green
#A9BE70
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A462 #6264A6
analogous
#A68262 #A6A462 #86A662
triadic
#A6A462 #62A6A4 #A462A6
tetradic
#A6A462 #62A682 #6264A6 #A66286
square
#A6A462 #62A682 #6264A6 #A66286
split-complementary
#A6A462 #6286A6 #8262A6
monochromatic
#5A5933 #818049 #A6A462 #BCBB89 #D2D1B0
Accessibility & contrast
On white
2.59
#A6A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#A6A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A462
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A462 | 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)
#AE9F5D
Deuteranopia (green-blind)
#B0A265
Tritanopia (blue-blind)
#AF9C94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a462; /* rgb */ color: rgb(166, 164, 98); /* oklch */ color: oklch(70.5% 0.088 106.9);
Tailwind
colors: {
custom: {
50: '#c1be90',
500: '#a6a462',
950: '#000000',
},
}SCSS
$custom: #a6a462; $custom-light: #c1be90; $custom-dark: #000000;
JSON
{
"hex": "#a6a462",
"rgb": {
"r": 166,
"g": 164,
"b": 98
},
"hsl": {
"h": 58.235,
"s": 27.642,
"l": 51.765
},
"oklch": {
"l": 0.70511,
"c": 0.08753,
"h": 106.9
},
"luminance": 0.3554
}Semantic roles & 50–950 ramp
primary
#A6A462
secondary
#A3A4C1
accent
#67C464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D