#A5A327#A5A327
#A5A327 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.138 H 108.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A327 |
|---|---|
| RGB | rgb(165, 163, 39) |
| HSL | hsl(59, 62%, 40%) |
| HSV | hsv(59, 76%, 65%) |
| CMYK | cmyk(0%, 1.2%, 76.4%, 35.3%) |
| CIE-LAB | lab(65.23, -13.60, 59.86) |
| CIE-LCH | lch(65.23, 61.38, 102.80°) |
| OKLab | oklab(69.56% -0.044 0.131) |
| OKLCH | oklch(69.56% 0.138 108.6) |
| XYZ | xyz(28.9816, 34.3411, 7.0209) |
| Luminance | 0.3434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.52
Puke
#A5A502
ΔE00 2.14
Pea Soup
#929901
ΔE00 4.42
Pea Soup Green
#94A617
ΔE00 4.82
Baby Poop Green
#8F9805
ΔE00 5.01
Puke Green
#9AAE07
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A327 #2729A5
analogous
#A56427 #A5A327 #68A527
triadic
#A5A327 #27A5A3 #A327A5
tetradic
#A5A327 #27A564 #2729A5 #A52768
square
#A5A327 #27A564 #2729A5 #A52768
split-complementary
#A5A327 #2768A5 #6427A5
monochromatic
#424110 #74721B #A5A327 #D0CE39 #DCDA6A
Accessibility & contrast
On white
2.67
#A5A327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A5A327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A327
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A327 | 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)
#B19C07
Deuteranopia (green-blind)
#B3A031
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a327; /* rgb */ color: rgb(165, 163, 39); /* oklch */ color: oklch(69.6% 0.138 108.6);
Tailwind
colors: {
custom: {
50: '#c3be6c',
500: '#a5a327',
950: '#000000',
},
}SCSS
$custom: #a5a327; $custom-light: #c3be6c; $custom-dark: #000000;
JSON
{
"hex": "#a5a327",
"rgb": {
"r": 165,
"g": 163,
"b": 39
},
"hsl": {
"h": 59.048,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.69561,
"c": 0.13818,
"h": 108.6
},
"luminance": 0.3434
}Semantic roles & 50–950 ramp
primary
#A5A327
secondary
#6667C2
accent
#46E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A