#A5A337#A5A337
#A5A337 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.128 H 108.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A337 |
|---|---|
| RGB | rgb(165, 163, 55) |
| HSL | hsl(59, 50%, 43%) |
| HSV | hsv(59, 67%, 65%) |
| CMYK | cmyk(0%, 1.2%, 66.7%, 35.3%) |
| CIE-LAB | lab(65.33, -12.80, 54.01) |
| CIE-LCH | lch(65.33, 55.51, 103.33°) |
| OKLab | oklab(69.68% -0.0401 0.1215) |
| OKLCH | oklch(69.68% 0.128 108.3) |
| XYZ | xyz(29.3048, 34.4705, 8.7235) |
| Luminance | 0.3447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.97
Puke
#A5A502
ΔE00 3.74
Pea Soup
#929901
ΔE00 5.05
Pea Soup Green
#94A617
ΔE00 5.18
Baby Poop Green
#8F9805
ΔE00 5.48
Puke Green
#9AAE07
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A337 #3739A5
analogous
#A56C37 #A5A337 #70A537
triadic
#A5A337 #37A5A3 #A337A5
tetradic
#A5A337 #37A56C #3739A5 #A53770
square
#A5A337 #37A56C #3739A5 #A53770
split-complementary
#A5A337 #3770A5 #6C37A5
monochromatic
#494818 #777628 #A5A337 #C6C453 #D5D481
Accessibility & contrast
On white
2.66
#A5A337 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A5A337 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A337
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A337 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A337 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#B2A03E
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a337; /* rgb */ color: rgb(165, 163, 55); /* oklch */ color: oklch(69.7% 0.128 108.3);
Tailwind
colors: {
custom: {
50: '#c3be74',
500: '#a5a337',
950: '#000000',
},
}SCSS
$custom: #a5a337; $custom-light: #c3be74; $custom-dark: #000000;
JSON
{
"hex": "#a5a337",
"rgb": {
"r": 165,
"g": 163,
"b": 55
},
"hsl": {
"h": 58.909,
"s": 50,
"l": 43.137
},
"oklch": {
"l": 0.69675,
"c": 0.12796,
"h": 108.3
},
"luminance": 0.3447
}Semantic roles & 50–950 ramp
primary
#A5A337
secondary
#797ABF
accent
#51DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B