#A5A52F#A5A52F
#A5A52F is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.136 H 109.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A52F |
|---|---|
| RGB | rgb(165, 165, 47) |
| HSL | hsl(60, 56%, 42%) |
| HSV | hsv(60, 72%, 65%) |
| CMYK | cmyk(0%, 0%, 71.5%, 35.3%) |
| CIE-LAB | lab(65.84, -14.27, 57.64) |
| CIE-LCH | lch(65.84, 59.38, 103.91°) |
| OKLab | oklab(70.06% -0.0451 0.1278) |
| OKLCH | oklch(70.06% 0.136 109.4) |
| XYZ | xyz(29.4863, 35.1157, 7.9135) |
| Luminance | 0.3512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.94
Puke
#A5A502
ΔE00 2.73
Pea Soup Green
#94A617
ΔE00 4.43
Pea Soup
#929901
ΔE00 4.81
Puke Green
#9AAE07
ΔE00 5.21
Baby Poop Green
#8F9805
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A52F #2F2FA5
analogous
#A56A2F #A5A52F #6AA52F
triadic
#A5A52F #2FA5A5 #A52FA5
tetradic
#A5A52F #2FA56A #2F2FA5 #A52F6A
square
#A5A52F #2FA56A #2F2FA5 #A52F6A
split-complementary
#A5A52F #2F6AA5 #6A2FA5
monochromatic
#464614 #757521 #A5A52F #CBCB47 #D8D876
Accessibility & contrast
On white
2.62
#A5A52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A5A52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A52F
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A52F | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#B19A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a52f; /* rgb */ color: rgb(165, 165, 47); /* oklch */ color: oklch(70.1% 0.136 109.4);
Tailwind
colors: {
custom: {
50: '#c3bf70',
500: '#a5a52f',
950: '#000000',
},
}SCSS
$custom: #a5a52f; $custom-light: #c3bf70; $custom-dark: #000000;
JSON
{
"hex": "#a5a52f",
"rgb": {
"r": 165,
"g": 165,
"b": 47
},
"hsl": {
"h": 60,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.7006,
"c": 0.1355,
"h": 109.4
},
"luminance": 0.35115
}Semantic roles & 50–950 ramp
primary
#A5A52F
secondary
#7070C0
accent
#49DF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B