#A8A548#A8A548
#A8A548 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.116 H 107.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A548 |
|---|---|
| RGB | rgb(168, 165, 72) |
| HSL | hsl(58, 40%, 47%) |
| HSV | hsv(58, 57%, 66%) |
| CMYK | cmyk(0%, 1.8%, 57.1%, 34.1%) |
| CIE-LAB | lab(66.29, -11.38, 47.62) |
| CIE-LCH | lch(66.29, 48.96, 103.43°) |
| OKLab | oklab(70.55% -0.0344 0.1103) |
| OKLCH | oklch(70.55% 0.116 107.3) |
| XYZ | xyz(30.7742, 35.7039, 11.4001) |
| Luminance | 0.3570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.24
Vomit
#A2A415
ΔE00 4.98
Puke
#A5A502
ΔE00 5.68
Darkkhaki
#BDB76B
ΔE00 6.22
Pea Soup Green
#94A617
ΔE00 6.52
Pea Soup
#929901
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A548 #484BA8
analogous
#A87548 #A8A548 #7BA848
triadic
#A8A548 #48A8A5 #A548A8
tetradic
#A8A548 #48A875 #484BA8 #A8487B
square
#A8A548 #48A875 #484BA8 #A8487B
split-complementary
#A8A548 #487BA8 #7548A8
monochromatic
#525123 #7D7B36 #A8A548 #C0BE6D #D3D198
Accessibility & contrast
On white
2.58
#A8A548 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A8A548 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A548
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A548 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A548 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19F3E
Deuteranopia (green-blind)
#B3A34D
Tritanopia (blue-blind)
#B39B91
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a548; /* rgb */ color: rgb(168, 165, 72); /* oklch */ color: oklch(70.5% 0.116 107.3);
Tailwind
colors: {
custom: {
50: '#c4bf7e',
500: '#a8a548',
950: '#000000',
},
}SCSS
$custom: #a8a548; $custom-light: #c4bf7e; $custom-dark: #000000;
JSON
{
"hex": "#a8a548",
"rgb": {
"r": 168,
"g": 165,
"b": 72
},
"hsl": {
"h": 58.125,
"s": 40,
"l": 47.059
},
"oklch": {
"l": 0.70549,
"c": 0.11556,
"h": 107.3
},
"luminance": 0.35703
}Semantic roles & 50–950 ramp
primary
#A8A548
secondary
#8D8FBF
accent
#5CD058
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C