#A8A366#A8A366
#A8A366 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.082 H 104.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A366 |
|---|---|
| RGB | rgb(168, 163, 102) |
| HSL | hsl(55, 28%, 53%) |
| HSV | hsv(55, 39%, 66%) |
| CMYK | cmyk(0%, 3%, 39.3%, 34.1%) |
| CIE-LAB | lab(66.12, -7.42, 32.33) |
| CIE-LCH | lch(66.12, 33.17, 102.93°) |
| OKLab | oklab(70.53% -0.0201 0.0791) |
| OKLCH | oklch(70.53% 0.082 104.2) |
| XYZ | xyz(31.6444, 35.4793, 17.7490) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.59
Darkkhaki
#BDB76B
ΔE00 6.24
Dark Khaki
#9B8F55
ΔE00 6.40
Sand
#C2B280
ΔE00 6.92
Moss Green
#8A9A5B
ΔE00 7.48
Stone (survey)
#ADA587
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A366 #666BA8
analogous
#A88266 #A8A366 #8CA866
triadic
#A8A366 #66A8A3 #A366A8
tetradic
#A8A366 #66A882 #666BA8 #A8668C
square
#A8A366 #66A882 #666BA8 #A8668C
split-complementary
#A8A366 #668CA8 #8266A8
monochromatic
#5E5B36 #85814C #A8A366 #BEBA8D #D4D2B4
Accessibility & contrast
On white
2.59
#A8A366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A8A366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A366
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A366 | 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)
#AD9F61
Deuteranopia (green-blind)
#AFA268
Tritanopia (blue-blind)
#B19B94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a366; /* rgb */ color: rgb(168, 163, 102); /* oklch */ color: oklch(70.5% 0.082 104.2);
Tailwind
colors: {
custom: {
50: '#c3be92',
500: '#a8a366',
950: '#000000',
},
}SCSS
$custom: #a8a366; $custom-light: #c3be92; $custom-dark: #000000;
JSON
{
"hex": "#a8a366",
"rgb": {
"r": 168,
"g": 163,
"b": 102
},
"hsl": {
"h": 55.455,
"s": 27.5,
"l": 52.941
},
"oklch": {
"l": 0.70534,
"c": 0.08158,
"h": 104.2
},
"luminance": 0.35479
}Semantic roles & 50–950 ramp
primary
#A8A366
secondary
#A7A9C3
accent
#6BC464
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E