#A6A262#A6A262
#A6A262 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.085 H 105.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A262 |
|---|---|
| RGB | rgb(166, 162, 98) |
| HSL | hsl(56, 28%, 52%) |
| HSV | hsv(56, 41%, 65%) |
| CMYK | cmyk(0%, 2.4%, 41%, 34.9%) |
| CIE-LAB | lab(65.62, -8.17, 33.77) |
| CIE-LCH | lch(65.62, 34.74, 103.60°) |
| OKLab | oklab(70.07% -0.0224 0.0822) |
| OKLCH | oklch(70.07% 0.085 105.3) |
| XYZ | xyz(30.8513, 34.8302, 16.6506) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.38
Dark Khaki
#9B8F55
ΔE00 6.23
Darkkhaki
#BDB76B
ΔE00 6.40
Moss Green
#8A9A5B
ΔE00 7.03
Sand
#C2B280
ΔE00 7.63
Sandy Brown
#C4A661
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A262 #6266A6
analogous
#A68062 #A6A262 #88A662
triadic
#A6A262 #62A6A2 #A262A6
tetradic
#A6A262 #62A680 #6266A6 #A66288
square
#A6A262 #62A680 #6266A6 #A66288
split-complementary
#A6A262 #6288A6 #8062A6
monochromatic
#5A5833 #817E49 #A6A262 #BCB989 #D2D0B0
Accessibility & contrast
On white
2.64
#A6A262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#A6A262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A262
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A262 | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9E5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#AF9A92
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a262; /* rgb */ color: rgb(166, 162, 98); /* oklch */ color: oklch(70.1% 0.085 105.3);
Tailwind
colors: {
custom: {
50: '#c1bd8f',
500: '#a6a262',
950: '#000000',
},
}SCSS
$custom: #a6a262; $custom-light: #c1bd8f; $custom-dark: #000000;
JSON
{
"hex": "#a6a262",
"rgb": {
"r": 166,
"g": 162,
"b": 98
},
"hsl": {
"h": 56.471,
"s": 27.642,
"l": 51.765
},
"oklch": {
"l": 0.70074,
"c": 0.08516,
"h": 105.3
},
"luminance": 0.34829
}Semantic roles & 50–950 ramp
primary
#A6A262
secondary
#A3A5C1
accent
#69C464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D