#A8A52A#A8A52A
#A8A52A is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.138 H 108.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A52A |
|---|---|
| RGB | rgb(168, 165, 42) |
| HSL | hsl(59, 60%, 41%) |
| HSV | hsv(59, 75%, 66%) |
| CMYK | cmyk(0%, 1.8%, 75%, 34.1%) |
| CIE-LAB | lab(66.06, -13.19, 59.71) |
| CIE-LCH | lch(66.06, 61.15, 102.46°) |
| OKLab | oklab(70.29% -0.0427 0.1311) |
| OKLCH | oklch(70.29% 0.138 108) |
| XYZ | xyz(30.0227, 35.4033, 7.4421) |
| Luminance | 0.3540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.83
Puke
#A5A502
ΔE00 2.21
Pea Soup
#929901
ΔE00 5.12
Pea Soup Green
#94A617
ΔE00 5.15
Puke Green
#9AAE07
ΔE00 5.68
Baby Poop Green
#8F9805
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A52A #2A2DA8
analogous
#A8662A #A8A52A #6CA82A
triadic
#A8A52A #2AA8A5 #A52AA8
tetradic
#A8A52A #2AA866 #2A2DA8 #A82A6C
square
#A8A52A #2AA866 #2A2DA8 #A82A6C
split-complementary
#A8A52A #2A6CA8 #662AA8
monochromatic
#464512 #77751E #A8A52A #CFCC40 #DBD971
Accessibility & contrast
On white
2.60
#A8A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A8A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A52A
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A52A | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a52a; /* rgb */ color: rgb(168, 165, 42); /* oklch */ color: oklch(70.3% 0.138 108.0);
Tailwind
colors: {
custom: {
50: '#c5bf6d',
500: '#a8a52a',
950: '#000000',
},
}SCSS
$custom: #a8a52a; $custom-light: #c5bf6d; $custom-dark: #000000;
JSON
{
"hex": "#a8a52a",
"rgb": {
"r": 168,
"g": 165,
"b": 42
},
"hsl": {
"h": 58.571,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.7029,
"c": 0.13792,
"h": 108
},
"luminance": 0.35402
}Semantic roles & 50–950 ramp
primary
#A8A52A
secondary
#6B6DC3
accent
#48E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B