#A8A271#A8A271
#A8A271 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.067 H 102.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A271 |
|---|---|
| RGB | rgb(168, 162, 113) |
| HSL | hsl(53, 24%, 55%) |
| HSV | hsv(53, 33%, 66%) |
| CMYK | cmyk(0%, 3.6%, 32.7%, 34.1%) |
| CIE-LAB | lab(66.03, -5.55, 26.32) |
| CIE-LCH | lch(66.03, 26.90, 101.90°) |
| OKLab | oklab(70.52% -0.014 0.0655) |
| OKLCH | oklch(70.52% 0.067 102) |
| XYZ | xyz(32.0497, 35.3585, 20.7561) |
| Luminance | 0.3536 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.18
Stone (survey)
#ADA587
ΔE00 5.64
Bland
#AFA88B
ΔE00 6.12
Sand
#C2B280
ΔE00 6.27
Dark Khaki
#9B8F55
ΔE00 6.59
Putty
#BEAE8A
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A271 #7177A8
analogous
#A88771 #A8A271 #92A871
triadic
#A8A271 #71A8A2 #A271A8
tetradic
#A8A271 #71A887 #7177A8 #A87192
square
#A8A271 #71A887 #7177A8 #A87192
split-complementary
#A8A271 #7192A8 #8771A8
monochromatic
#625E3C #888354 #A8A271 #BFBB97 #D7D4BD
Accessibility & contrast
On white
2.60
#A8A271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#A8A271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A271
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A271 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9F6E
Deuteranopia (green-blind)
#ADA273
Tritanopia (blue-blind)
#B09B95
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a271; /* rgb */ color: rgb(168, 162, 113); /* oklch */ color: oklch(70.5% 0.067 102.0);
Tailwind
colors: {
custom: {
50: '#c2bd9a',
500: '#a8a271',
950: '#000000',
},
}SCSS
$custom: #a8a271; $custom-light: #c2bd9a; $custom-dark: #000000;
JSON
{
"hex": "#a8a271",
"rgb": {
"r": 168,
"g": 162,
"b": 113
},
"hsl": {
"h": 53.455,
"s": 24.017,
"l": 55.098
},
"oklch": {
"l": 0.70519,
"c": 0.06701,
"h": 102
},
"luminance": 0.35358
}Semantic roles & 50–950 ramp
primary
#A8A271
secondary
#AFB1C6
accent
#71C067
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#12120E
muted
#81817E