#A5A625#A5A625
#A5A625 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.142 H 110.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A625 |
|---|---|
| RGB | rgb(165, 166, 37) |
| HSL | hsl(60, 64%, 40%) |
| HSV | hsv(60, 78%, 65%) |
| CMYK | cmyk(0.6%, 0%, 77.7%, 34.9%) |
| CIE-LAB | lab(66.06, -15.24, 61.25) |
| CIE-LCH | lch(66.06, 63.12, 103.97°) |
| OKLab | oklab(70.22% -0.0487 0.1336) |
| OKLCH | oklch(70.22% 0.142 110) |
| XYZ | xyz(29.4883, 35.4062, 7.0306) |
| Luminance | 0.3540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.13
Puke
#A5A502
ΔE00 1.82
Pea Soup Green
#94A617
ΔE00 4.14
Puke Green
#9AAE07
ΔE00 4.62
Pea Soup
#929901
ΔE00 4.71
Mustard Green
#A8B504
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A625 #2625A6
analogous
#A66625 #A5A625 #65A625
triadic
#A5A625 #25A5A6 #A625A5
tetradic
#A5A625 #25A666 #2625A6 #A62565
square
#A5A625 #25A666 #2625A6 #A62565
split-complementary
#A5A625 #2565A6 #6625A6
monochromatic
#42420F #73741A #A5A625 #D1D236 #DCDD68
Accessibility & contrast
On white
2.60
#A5A625 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A5A625 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A625
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A625 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A625 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a625; /* rgb */ color: rgb(165, 166, 37); /* oklch */ color: oklch(70.2% 0.142 110.0);
Tailwind
colors: {
custom: {
50: '#c3c06b',
500: '#a5a625',
950: '#000000',
},
}SCSS
$custom: #a5a625; $custom-light: #c3c06b; $custom-dark: #000000;
JSON
{
"hex": "#a5a625",
"rgb": {
"r": 165,
"g": 166,
"b": 37
},
"hsl": {
"h": 60.465,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.70222,
"c": 0.1422,
"h": 110
},
"luminance": 0.35405
}Semantic roles & 50–950 ramp
primary
#A5A625
secondary
#6464C3
accent
#41E743
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A