#A5A42A#A5A42A
#A5A42A is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.138 H 109.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A42A |
|---|---|
| RGB | rgb(165, 164, 42) |
| HSL | hsl(60, 59%, 41%) |
| HSV | hsv(60, 75%, 65%) |
| CMYK | cmyk(0%, 0.6%, 74.5%, 35.3%) |
| CIE-LAB | lab(65.53, -13.99, 59.12) |
| CIE-LCH | lch(65.53, 60.76, 103.32°) |
| OKLab | oklab(69.8% -0.0448 0.13) |
| OKLCH | oklch(69.8% 0.138 109) |
| XYZ | xyz(29.2115, 34.7183, 7.3526) |
| Luminance | 0.3472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.57
Puke
#A5A502
ΔE00 2.29
Pea Soup
#929901
ΔE00 4.56
Pea Soup Green
#94A617
ΔE00 4.59
Baby Poop Green
#8F9805
ΔE00 5.11
Puke Green
#9AAE07
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A42A #2A2BA5
analogous
#A5662A #A5A42A #68A52A
triadic
#A5A42A #2AA5A4 #A42AA5
tetradic
#A5A42A #2AA566 #2A2BA5 #A52A68
square
#A5A42A #2AA566 #2A2BA5 #A52A68
split-complementary
#A5A42A #2A68A5 #662AA5
monochromatic
#434311 #74741E #A5A42A #CECD3E #DAD96F
Accessibility & contrast
On white
2.64
#A5A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#A5A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A42A
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A42A | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D10
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a42a; /* rgb */ color: rgb(165, 164, 42); /* oklch */ color: oklch(69.8% 0.138 109.0);
Tailwind
colors: {
custom: {
50: '#c3be6d',
500: '#a5a42a',
950: '#000000',
},
}SCSS
$custom: #a5a42a; $custom-light: #c3be6d; $custom-dark: #000000;
JSON
{
"hex": "#a5a42a",
"rgb": {
"r": 165,
"g": 164,
"b": 42
},
"hsl": {
"h": 59.512,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.69803,
"c": 0.1375,
"h": 109
},
"luminance": 0.34717
}Semantic roles & 50–950 ramp
primary
#A5A42A
secondary
#696AC1
accent
#46E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B