#A8A552#A8A552
#A8A552 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.106 H 107.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A552 |
|---|---|
| RGB | rgb(168, 165, 82) |
| HSL | hsl(58, 34%, 49%) |
| HSV | hsv(58, 51%, 66%) |
| CMYK | cmyk(0%, 1.8%, 51.2%, 34.1%) |
| CIE-LAB | lab(66.40, -10.53, 42.94) |
| CIE-LCH | lch(66.40, 44.21, 103.78°) |
| OKLab | oklab(70.67% -0.0309 0.1013) |
| OKLCH | oklch(70.67% 0.106 107) |
| XYZ | xyz(31.1274, 35.8451, 13.2601) |
| Luminance | 0.3584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.72
Darkkhaki
#BDB76B
ΔE00 5.61
Vomit
#A2A415
ΔE00 6.47
Puke
#A5A502
ΔE00 7.20
Pea Soup Green
#94A617
ΔE00 7.61
Pea Soup
#929901
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A552 #5255A8
analogous
#A87A52 #A8A552 #80A852
triadic
#A8A552 #52A8A5 #A552A8
tetradic
#A8A552 #52A87A #5255A8 #A85280
square
#A8A552 #52A87A #5255A8 #A85280
split-complementary
#A8A552 #5280A8 #7A52A8
monochromatic
#56542A #7F7D3E #A8A552 #BEBB79 #D2D0A3
Accessibility & contrast
On white
2.57
#A8A552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A8A552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A552
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A552 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19F4A
Deuteranopia (green-blind)
#B3A356
Tritanopia (blue-blind)
#B29C92
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a552; /* rgb */ color: rgb(168, 165, 82); /* oklch */ color: oklch(70.7% 0.106 107.0);
Tailwind
colors: {
custom: {
50: '#c4bf85',
500: '#a8a552',
950: '#000000',
},
}SCSS
$custom: #a8a552; $custom-light: #c4bf85; $custom-dark: #000000;
JSON
{
"hex": "#a8a552",
"rgb": {
"r": 168,
"g": 165,
"b": 82
},
"hsl": {
"h": 57.907,
"s": 34.4,
"l": 49.02
},
"oklch": {
"l": 0.7067,
"c": 0.10591,
"h": 107
},
"luminance": 0.35844
}Semantic roles & 50–950 ramp
primary
#A8A552
secondary
#9798BF
accent
#61CA5D
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C