#A6A45F#A6A45F
#A6A45F is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.091 H 107.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A45F |
|---|---|
| RGB | rgb(166, 164, 95) |
| HSL | hsl(58, 29%, 51%) |
| HSV | hsv(58, 43%, 65%) |
| CMYK | cmyk(0%, 1.2%, 42.8%, 34.9%) |
| CIE-LAB | lab(66.12, -9.56, 35.97) |
| CIE-LCH | lch(66.12, 37.22, 104.88°) |
| OKLab | oklab(70.46% -0.0267 0.087) |
| OKLCH | oklch(70.46% 0.091 107.1) |
| XYZ | xyz(31.0675, 35.4849, 16.0369) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.97
Darkkhaki
#BDB76B
ΔE00 5.84
Moss Green
#8A9A5B
ΔE00 6.94
Dark Khaki
#9B8F55
ΔE00 7.07
Sand
#C2B280
ΔE00 8.10
Light Olive
#ACBF69
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A45F #5F61A6
analogous
#A6805F #A6A45F #84A65F
triadic
#A6A45F #5FA6A4 #A45FA6
tetradic
#A6A45F #5FA680 #5F61A6 #A65F84
square
#A6A45F #5FA680 #5F61A6 #A65F84
split-complementary
#A6A45F #5F84A6 #805FA6
monochromatic
#595832 #807F47 #A6A45F #BCBA86 #D2D1AE
Accessibility & contrast
On white
2.59
#A6A45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A6A45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A45F
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A45F | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F59
Deuteranopia (green-blind)
#B0A262
Tritanopia (blue-blind)
#AF9C93
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a45f; /* rgb */ color: rgb(166, 164, 95); /* oklch */ color: oklch(70.5% 0.091 107.1);
Tailwind
colors: {
custom: {
50: '#c2be8d',
500: '#a6a45f',
950: '#000000',
},
}SCSS
$custom: #a6a45f; $custom-light: #c2be8d; $custom-dark: #000000;
JSON
{
"hex": "#a6a45f",
"rgb": {
"r": 166,
"g": 164,
"b": 95
},
"hsl": {
"h": 58.31,
"s": 28.514,
"l": 51.176
},
"oklch": {
"l": 0.70463,
"c": 0.09096,
"h": 107.1
},
"luminance": 0.35484
}Semantic roles & 50–950 ramp
primary
#A6A45F
secondary
#A1A2C0
accent
#66C563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D