#A5A328#A5A328
#A5A328 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.138 H 108.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A328 |
|---|---|
| RGB | rgb(165, 163, 40) |
| HSL | hsl(59, 61%, 40%) |
| HSV | hsv(59, 76%, 65%) |
| CMYK | cmyk(0%, 1.2%, 75.8%, 35.3%) |
| CIE-LAB | lab(65.24, -13.56, 59.53) |
| CIE-LCH | lch(65.24, 61.05, 102.83°) |
| OKLab | oklab(69.57% -0.0438 0.1305) |
| OKLCH | oklch(69.57% 0.138 108.5) |
| XYZ | xyz(28.9984, 34.3479, 7.1094) |
| Luminance | 0.3435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.58
Puke
#A5A502
ΔE00 2.22
Pea Soup
#929901
ΔE00 4.44
Pea Soup Green
#94A617
ΔE00 4.82
Baby Poop Green
#8F9805
ΔE00 5.02
Puke Green
#9AAE07
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A328 #282AA5
analogous
#A56428 #A5A328 #68A528
triadic
#A5A328 #28A5A3 #A328A5
tetradic
#A5A328 #28A564 #282AA5 #A52868
square
#A5A328 #28A564 #282AA5 #A52868
split-complementary
#A5A328 #2868A5 #6428A5
monochromatic
#424210 #74721C #A5A328 #CFCD3B #DBDA6C
Accessibility & contrast
On white
2.67
#A5A328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A5A328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A328
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A328 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C0B
Deuteranopia (green-blind)
#B3A032
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a328; /* rgb */ color: rgb(165, 163, 40); /* oklch */ color: oklch(69.6% 0.138 108.5);
Tailwind
colors: {
custom: {
50: '#c3be6c',
500: '#a5a328',
950: '#000000',
},
}SCSS
$custom: #a5a328; $custom-light: #c3be6c; $custom-dark: #000000;
JSON
{
"hex": "#a5a328",
"rgb": {
"r": 165,
"g": 163,
"b": 40
},
"hsl": {
"h": 59.04,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.69567,
"c": 0.13763,
"h": 108.5
},
"luminance": 0.34347
}Semantic roles & 50–950 ramp
primary
#A5A328
secondary
#6768C2
accent
#46E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A