#A5A037#A5A037
#A5A037 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.125 H 106.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A037 |
|---|---|
| RGB | rgb(165, 160, 55) |
| HSL | hsl(57, 50%, 43%) |
| HSV | hsv(57, 67%, 65%) |
| CMYK | cmyk(0%, 3%, 66.7%, 35.3%) |
| CIE-LAB | lab(64.50, -11.22, 53.15) |
| CIE-LCH | lch(64.50, 54.32, 101.92°) |
| OKLab | oklab(69.01% -0.0357 0.1197) |
| OKLCH | oklch(69.01% 0.125 106.6) |
| XYZ | xyz(28.7785, 33.4177, 8.5480) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.56
Puke
#A5A502
ΔE00 4.21
Pea Soup
#929901
ΔE00 5.09
Baby Poop Green
#8F9805
ΔE00 5.52
Pea Soup Green
#94A617
ΔE00 6.04
Khaki (survey)
#AAA662
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A037 #373CA5
analogous
#A56937 #A5A037 #73A537
triadic
#A5A037 #37A5A0 #A037A5
tetradic
#A5A037 #37A569 #373CA5 #A53773
square
#A5A037 #37A569 #373CA5 #A53773
split-complementary
#A5A037 #3773A5 #6937A5
monochromatic
#494718 #777328 #A5A037 #C6C153 #D5D181
Accessibility & contrast
On white
2.73
#A5A037 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#A5A037 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A037
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A037 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A037 | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9A29
Deuteranopia (green-blind)
#B09E3E
Tritanopia (blue-blind)
#B1968B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a5a037; /* rgb */ color: rgb(165, 160, 55); /* oklch */ color: oklch(69.0% 0.125 106.6);
Tailwind
colors: {
custom: {
50: '#c3bb74',
500: '#a5a037',
950: '#000000',
},
}SCSS
$custom: #a5a037; $custom-light: #c3bb74; $custom-dark: #000000;
JSON
{
"hex": "#a5a037",
"rgb": {
"r": 165,
"g": 160,
"b": 55
},
"hsl": {
"h": 57.273,
"s": 50,
"l": 43.137
},
"oklch": {
"l": 0.69008,
"c": 0.1249,
"h": 106.6
},
"luminance": 0.33417
}Semantic roles & 50–950 ramp
primary
#A5A037
secondary
#797CBF
accent
#55DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B