#A5A342#A5A342
#A5A342 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.119 H 108.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A342 |
|---|---|
| RGB | rgb(165, 163, 66) |
| HSL | hsl(59, 43%, 45%) |
| HSV | hsv(59, 60%, 65%) |
| CMYK | cmyk(0%, 1.2%, 60%, 35.3%) |
| CIE-LAB | lab(65.43, -12.07, 49.35) |
| CIE-LCH | lch(65.43, 50.80, 103.74°) |
| OKLab | oklab(69.78% -0.0368 0.1133) |
| OKLCH | oklch(69.78% 0.119 108) |
| XYZ | xyz(29.5985, 34.5879, 10.2702) |
| Luminance | 0.3459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.33
Khaki (survey)
#AAA662
ΔE00 4.94
Puke
#A5A502
ΔE00 5.12
Pea Soup Green
#94A617
ΔE00 5.89
Pea Soup
#929901
ΔE00 5.93
Baby Poop Green
#8F9805
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A342 #4244A5
analogous
#A57142 #A5A342 #75A542
triadic
#A5A342 #42A5A3 #A342A5
tetradic
#A5A342 #42A571 #4244A5 #A54275
square
#A5A342 #42A571 #4244A5 #A54275
split-complementary
#A5A342 #4275A5 #7142A5
monochromatic
#4E4D1F #797831 #A5A342 #C1BF63 #D2D18F
Accessibility & contrast
On white
2.65
#A5A342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A5A342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A342
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A342 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B1A148
Tritanopia (blue-blind)
#B0998E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a342; /* rgb */ color: rgb(165, 163, 66); /* oklch */ color: oklch(69.8% 0.119 108.0);
Tailwind
colors: {
custom: {
50: '#c2be7a',
500: '#a5a342',
950: '#000000',
},
}SCSS
$custom: #a5a342; $custom-light: #c2be7a; $custom-dark: #000000;
JSON
{
"hex": "#a5a342",
"rgb": {
"r": 165,
"g": 163,
"b": 66
},
"hsl": {
"h": 58.788,
"s": 42.857,
"l": 45.294
},
"oklch": {
"l": 0.69778,
"c": 0.11914,
"h": 108
},
"luminance": 0.34587
}Semantic roles & 50–950 ramp
primary
#A5A342
secondary
#8586BD
accent
#58D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B