#A8A52F#A8A52F
#A8A52F is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.135 H 108.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A52F |
|---|---|
| RGB | rgb(168, 165, 47) |
| HSL | hsl(59, 56%, 42%) |
| HSV | hsv(59, 72%, 66%) |
| CMYK | cmyk(0%, 1.8%, 72%, 34.1%) |
| CIE-LAB | lab(66.09, -12.96, 57.97) |
| CIE-LCH | lch(66.09, 59.40, 102.60°) |
| OKLab | oklab(70.32% -0.0416 0.1284) |
| OKLCH | oklch(70.32% 0.135 108) |
| XYZ | xyz(30.1178, 35.4413, 7.9431) |
| Luminance | 0.3544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.17
Puke
#A5A502
ΔE00 2.66
Pea Soup Green
#94A617
ΔE00 5.20
Pea Soup
#929901
ΔE00 5.23
Baby Poop Green
#8F9805
ΔE00 5.78
Puke Green
#9AAE07
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A52F #2F32A8
analogous
#A8682F #A8A52F #6FA82F
triadic
#A8A52F #2FA8A5 #A52FA8
tetradic
#A8A52F #2FA868 #2F32A8 #A82F6F
square
#A8A52F #2FA868 #2F32A8 #A82F6F
split-complementary
#A8A52F #2F6FA8 #682FA8
monochromatic
#484714 #787622 #A8A52F #CCC948 #D9D778
Accessibility & contrast
On white
2.60
#A8A52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A8A52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A52F
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A52F | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a52f; /* rgb */ color: rgb(168, 165, 47); /* oklch */ color: oklch(70.3% 0.135 108.0);
Tailwind
colors: {
custom: {
50: '#c5bf70',
500: '#a8a52f',
950: '#000000',
},
}SCSS
$custom: #a8a52f; $custom-light: #c5bf70; $custom-dark: #000000;
JSON
{
"hex": "#a8a52f",
"rgb": {
"r": 168,
"g": 165,
"b": 47
},
"hsl": {
"h": 58.512,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.70323,
"c": 0.13494,
"h": 108
},
"luminance": 0.3544
}Semantic roles & 50–950 ramp
primary
#A8A52F
secondary
#7173C1
accent
#4CE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B