#A6A545#A6A545
#A6A545 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.119 H 108.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A545 |
|---|---|
| RGB | rgb(166, 165, 69) |
| HSL | hsl(59, 41%, 46%) |
| HSV | hsv(59, 58%, 65%) |
| CMYK | cmyk(0%, 0.6%, 58.4%, 34.9%) |
| CIE-LAB | lab(66.10, -12.46, 48.74) |
| CIE-LCH | lch(66.10, 50.31, 104.34°) |
| OKLab | oklab(70.34% -0.0377 0.1124) |
| OKLCH | oklch(70.34% 0.119 108.5) |
| XYZ | xyz(30.2561, 35.4478, 10.8774) |
| Luminance | 0.3545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.54
Khaki (survey)
#AAA662
ΔE00 4.69
Puke
#A5A502
ΔE00 5.33
Pea Soup Green
#94A617
ΔE00 5.87
Pea Soup
#929901
ΔE00 6.35
Darkkhaki
#BDB76B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A545 #4546A6
analogous
#A67445 #A6A545 #76A645
triadic
#A6A545 #45A6A5 #A545A6
tetradic
#A6A545 #45A674 #4546A6 #A64576
square
#A6A545 #45A674 #4546A6 #A64576
split-complementary
#A6A545 #4576A6 #7445A6
monochromatic
#504F21 #7B7A33 #A6A545 #C0BF68 #D2D293
Accessibility & contrast
On white
2.60
#A6A545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A6A545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A545
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A545 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19F3B
Deuteranopia (green-blind)
#B3A24A
Tritanopia (blue-blind)
#B19B90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a545; /* rgb */ color: rgb(166, 165, 69); /* oklch */ color: oklch(70.3% 0.119 108.5);
Tailwind
colors: {
custom: {
50: '#c3bf7c',
500: '#a6a545',
950: '#000000',
},
}SCSS
$custom: #a6a545; $custom-light: #c3bf7c; $custom-dark: #000000;
JSON
{
"hex": "#a6a545",
"rgb": {
"r": 166,
"g": 165,
"b": 69
},
"hsl": {
"h": 59.381,
"s": 41.277,
"l": 46.078
},
"oklch": {
"l": 0.70341,
"c": 0.11854,
"h": 108.5
},
"luminance": 0.35447
}Semantic roles & 50–950 ramp
primary
#A6A545
secondary
#8989BE
accent
#58D157
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C