#A5A428#A5A428
#A5A428 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.139 H 109.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A428 |
|---|---|
| RGB | rgb(165, 164, 40) |
| HSL | hsl(60, 61%, 40%) |
| HSV | hsv(60, 76%, 65%) |
| CMYK | cmyk(0%, 0.6%, 75.8%, 35.3%) |
| CIE-LAB | lab(65.52, -14.08, 59.79) |
| CIE-LCH | lch(65.52, 61.42, 103.25°) |
| OKLab | oklab(69.79% -0.0452 0.131) |
| OKLCH | oklch(69.79% 0.139 109) |
| XYZ | xyz(29.1766, 34.7044, 7.1688) |
| Luminance | 0.3470 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.42
Puke
#A5A502
ΔE00 2.11
Pea Soup
#929901
ΔE00 4.51
Pea Soup Green
#94A617
ΔE00 4.57
Baby Poop Green
#8F9805
ΔE00 5.08
Puke Green
#9AAE07
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A428 #2829A5
analogous
#A56528 #A5A428 #67A528
triadic
#A5A428 #28A5A4 #A428A5
tetradic
#A5A428 #28A565 #2829A5 #A52867
square
#A5A428 #28A565 #2829A5 #A52867
split-complementary
#A5A428 #2867A5 #6528A5
monochromatic
#424210 #74731C #A5A428 #CFCE3B #DBDA6C
Accessibility & contrast
On white
2.64
#A5A428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#A5A428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A428
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A428 | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D0A
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a428; /* rgb */ color: rgb(165, 164, 40); /* oklch */ color: oklch(69.8% 0.139 109.0);
Tailwind
colors: {
custom: {
50: '#c3be6c',
500: '#a5a428',
950: '#000000',
},
}SCSS
$custom: #a5a428; $custom-light: #c3be6c; $custom-dark: #000000;
JSON
{
"hex": "#a5a428",
"rgb": {
"r": 165,
"g": 164,
"b": 40
},
"hsl": {
"h": 59.52,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.69791,
"c": 0.13862,
"h": 109
},
"luminance": 0.34703
}Semantic roles & 50–950 ramp
primary
#A5A428
secondary
#6768C2
accent
#45E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A