#A5A331#A5A331
#A5A331 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.132 H 108.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A331 |
|---|---|
| RGB | rgb(165, 163, 49) |
| HSL | hsl(59, 54%, 42%) |
| HSV | hsv(59, 70%, 65%) |
| CMYK | cmyk(0%, 1.2%, 70.3%, 35.3%) |
| CIE-LAB | lab(65.29, -13.13, 56.35) |
| CIE-LCH | lch(65.29, 57.86, 103.12°) |
| OKLab | oklab(69.63% -0.0417 0.1254) |
| OKLCH | oklch(69.63% 0.132 108.4) |
| XYZ | xyz(29.1697, 34.4164, 8.0116) |
| Luminance | 0.3442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.34
Puke
#A5A502
ΔE00 3.08
Pea Soup
#929901
ΔE00 4.73
Pea Soup Green
#94A617
ΔE00 4.97
Baby Poop Green
#8F9805
ΔE00 5.22
Puke Green
#9AAE07
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A331 #3133A5
analogous
#A56931 #A5A331 #6DA531
triadic
#A5A331 #31A5A3 #A331A5
tetradic
#A5A331 #31A569 #3133A5 #A5316D
square
#A5A331 #31A569 #3133A5 #A5316D
split-complementary
#A5A331 #316DA5 #6931A5
monochromatic
#474615 #767423 #A5A331 #C9C74A #D7D679
Accessibility & contrast
On white
2.66
#A5A331 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A5A331 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A331
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A331 | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#B1988D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a331; /* rgb */ color: rgb(165, 163, 49); /* oklch */ color: oklch(69.6% 0.132 108.4);
Tailwind
colors: {
custom: {
50: '#c3be71',
500: '#a5a331',
950: '#000000',
},
}SCSS
$custom: #a5a331; $custom-light: #c3be71; $custom-dark: #000000;
JSON
{
"hex": "#a5a331",
"rgb": {
"r": 165,
"g": 163,
"b": 49
},
"hsl": {
"h": 58.966,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.69628,
"c": 0.13216,
"h": 108.4
},
"luminance": 0.34415
}Semantic roles & 50–950 ramp
primary
#A5A331
secondary
#7273C0
accent
#4DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B