#A5A02E#A5A02E
#A5A02E is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.131 H 106.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A02E |
|---|---|
| RGB | rgb(165, 160, 46) |
| HSL | hsl(57, 56%, 41%) |
| HSV | hsv(57, 72%, 65%) |
| CMYK | cmyk(0%, 3%, 72.1%, 35.3%) |
| CIE-LAB | lab(64.43, -11.72, 56.65) |
| CIE-LCH | lch(64.43, 57.85, 101.69°) |
| OKLab | oklab(68.94% -0.038 0.1255) |
| OKLCH | oklch(68.94% 0.131 106.9) |
| XYZ | xyz(28.5821, 33.3392, 7.5138) |
| Luminance | 0.3334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.77
Puke
#A5A502
ΔE00 3.32
Pea Soup
#929901
ΔE00 4.59
Baby Poop Green
#8F9805
ΔE00 5.13
Pea Soup Green
#94A617
ΔE00 5.75
Baby Shit Green
#889717
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A02E #2E33A5
analogous
#A5652E #A5A02E #6FA52E
triadic
#A5A02E #2EA5A0 #A02EA5
tetradic
#A5A02E #2EA565 #2E33A5 #A52E6F
square
#A5A02E #2EA565 #2E33A5 #A52E6F
split-complementary
#A5A02E #2E6FA5 #652EA5
monochromatic
#454313 #757221 #A5A02E #CBC645 #D8D475
Accessibility & contrast
On white
2.74
#A5A02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A5A02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A02E
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A02E | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a5a02e; /* rgb */ color: rgb(165, 160, 46); /* oklch */ color: oklch(68.9% 0.131 106.9);
Tailwind
colors: {
custom: {
50: '#c3bb6f',
500: '#a5a02e',
950: '#000000',
},
}SCSS
$custom: #a5a02e; $custom-light: #c3bb6f; $custom-dark: #000000;
JSON
{
"hex": "#a5a02e",
"rgb": {
"r": 165,
"g": 160,
"b": 46
},
"hsl": {
"h": 57.479,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.68938,
"c": 0.13114,
"h": 106.9
},
"luminance": 0.33338
}Semantic roles & 50–950 ramp
primary
#A5A02E
secondary
#6F72C0
accent
#4EE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B