#A8A252#A8A252
#A8A252 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.103 H 104.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A252 |
|---|---|
| RGB | rgb(168, 162, 82) |
| HSL | hsl(56, 34%, 49%) |
| HSV | hsv(56, 51%, 66%) |
| CMYK | cmyk(0%, 3.6%, 51.2%, 34.1%) |
| CIE-LAB | lab(65.57, -8.95, 41.96) |
| CIE-LCH | lch(65.57, 42.90, 102.04°) |
| OKLab | oklab(70.01% -0.0263 0.0992) |
| OKLCH | oklch(70.01% 0.103 104.9) |
| XYZ | xyz(30.5926, 34.7756, 13.0819) |
| Luminance | 0.3478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.64
Darkkhaki
#BDB76B
ΔE00 6.15
Vomit
#A2A415
ΔE00 6.92
Dark Khaki
#9B8F55
ΔE00 7.03
Puke
#A5A502
ΔE00 7.60
Pea Soup
#929901
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A252 #5258A8
analogous
#A87752 #A8A252 #83A852
triadic
#A8A252 #52A8A2 #A252A8
tetradic
#A8A252 #52A877 #5258A8 #A85283
square
#A8A252 #52A877 #5258A8 #A85283
split-complementary
#A8A252 #5283A8 #7752A8
monochromatic
#56532A #7F7A3E #A8A252 #BEB979 #D2CFA3
Accessibility & contrast
On white
2.64
#A8A252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#A8A252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A252
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A252 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9D4B
Deuteranopia (green-blind)
#B0A156
Tritanopia (blue-blind)
#B39990
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a8a252; /* rgb */ color: rgb(168, 162, 82); /* oklch */ color: oklch(70.0% 0.103 104.9);
Tailwind
colors: {
custom: {
50: '#c4bd85',
500: '#a8a252',
950: '#000000',
},
}SCSS
$custom: #a8a252; $custom-light: #c4bd85; $custom-dark: #000000;
JSON
{
"hex": "#a8a252",
"rgb": {
"r": 168,
"g": 162,
"b": 82
},
"hsl": {
"h": 55.814,
"s": 34.4,
"l": 49.02
},
"oklch": {
"l": 0.70012,
"c": 0.10261,
"h": 104.9
},
"luminance": 0.34775
}Semantic roles & 50–950 ramp
primary
#A8A252
secondary
#9799BF
accent
#65CA5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C