#A8A952#A8A952
#A8A952 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.110 H 109.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A952 |
|---|---|
| RGB | rgb(168, 169, 82) |
| HSL | hsl(61, 35%, 49%) |
| HSV | hsv(61, 51%, 66%) |
| CMYK | cmyk(0.6%, 0%, 51.5%, 33.7%) |
| CIE-LAB | lab(67.51, -12.63, 44.24) |
| CIE-LCH | lch(67.51, 46.01, 105.93°) |
| OKLab | oklab(71.55% -0.0369 0.1041) |
| OKLCH | oklch(71.55% 0.11 109.5) |
| XYZ | xyz(31.8601, 37.3107, 13.5044) |
| Luminance | 0.3731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.47
Darkkhaki
#BDB76B
ΔE00 5.20
Vomit
#A2A415
ΔE00 6.21
Booger
#9BB53C
ΔE00 6.83
Pea Soup Green
#94A617
ΔE00 6.85
Puke
#A5A502
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A952 #5352A9
analogous
#A97F52 #A8A952 #7DA952
triadic
#A8A952 #52A8A9 #A952A8
tetradic
#A8A952 #52A97F #5352A9 #A9527D
square
#A8A952 #52A97F #5352A9 #A9527D
split-complementary
#A8A952 #527DA9 #7F52A9
monochromatic
#56572A #7F803E #A8A952 #BEBE7A #D2D2A3
Accessibility & contrast
On white
2.48
#A8A952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#A8A952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A952
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A952 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A34A
Deuteranopia (green-blind)
#B6A656
Tritanopia (blue-blind)
#B2A095
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a952; /* rgb */ color: rgb(168, 169, 82); /* oklch */ color: oklch(71.6% 0.110 109.5);
Tailwind
colors: {
custom: {
50: '#c4c285',
500: '#a8a952',
950: '#000000',
},
}SCSS
$custom: #a8a952; $custom-light: #c4c285; $custom-dark: #000000;
JSON
{
"hex": "#a8a952",
"rgb": {
"r": 168,
"g": 169,
"b": 82
},
"hsl": {
"h": 60.69,
"s": 34.661,
"l": 49.216
},
"oklch": {
"l": 0.71552,
"c": 0.11047,
"h": 109.5
},
"luminance": 0.3731
}Semantic roles & 50–950 ramp
primary
#A8A952
secondary
#9897C0
accent
#5DCB5E
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C