Puke#A5A502
#A5A502 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.152 H 109.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A502 |
|---|---|
| RGB | rgb(165, 165, 2) |
| HSL | hsl(60, 98%, 33%) |
| HSV | hsv(60, 99%, 65%) |
| CMYK | cmyk(0%, 0%, 98.8%, 35.3%) |
| CIE-LAB | lab(65.68, -15.53, 67.95) |
| CIE-LCH | lch(65.68, 69.70, 102.88°) |
| OKLab | oklab(69.89% -0.0514 0.143) |
| OKLCH | oklch(69.89% 0.152 109.8) |
| XYZ | xyz(28.9844, 34.9149, 5.2699) |
| Luminance | 0.3491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 0.00
Vomit
#A2A415
ΔE00 1.13
Pea Soup
#929901
ΔE00 4.67
Pea Soup Green
#94A617
ΔE00 4.77
Puke Green
#9AAE07
ΔE00 4.94
Mustard Green
#A8B504
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A502 #0202A5
analogous
#A55302 #A5A502 #53A502
triadic
#A5A502 #02A5A5 #A502A5
tetradic
#A5A502 #02A553 #0202A5 #A50253
square
#A5A502 #02A553 #0202A5 #A50253
split-complementary
#A5A502 #0253A5 #5302A5
monochromatic
#2C2C01 #696901 #A5A502 #E1E103 #FCFC25
Accessibility & contrast
On white
2.63
#A5A502 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#A5A502 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A502
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A502 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A502 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B5A11D
Tritanopia (blue-blind)
#B2998C
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a502; /* rgb */ color: rgb(165, 165, 2); /* oklch */ color: oklch(69.9% 0.152 109.8);
Tailwind
colors: {
custom: {
50: '#c4bf61',
500: '#a5a502',
950: '#000000',
},
}SCSS
$custom: #a5a502; $custom-light: #c4bf61; $custom-dark: #000000;
JSON
{
"hex": "#a5a502",
"rgb": {
"r": 165,
"g": 165,
"b": 2
},
"hsl": {
"h": 60,
"s": 97.605,
"l": 32.745
},
"oklch": {
"l": 0.69886,
"c": 0.15196,
"h": 109.8
},
"luminance": 0.34914
}Semantic roles & 50–950 ramp
primary
#A5A502
secondary
#2C2CD7
accent
#29FF29
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131206
muted
#82817A