#A5A022#A5A022
#A5A022 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.138 H 107.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A022 |
|---|---|
| RGB | rgb(165, 160, 34) |
| HSL | hsl(58, 66%, 39%) |
| HSV | hsv(58, 79%, 65%) |
| CMYK | cmyk(0%, 3%, 79.4%, 35.3%) |
| CIE-LAB | lab(64.37, -12.24, 60.65) |
| CIE-LCH | lch(64.37, 61.87, 101.41°) |
| OKLab | oklab(68.86% -0.0406 0.1318) |
| OKLCH | oklch(68.86% 0.138 107.1) |
| XYZ | xyz(28.3778, 33.2575, 6.4376) |
| Luminance | 0.3326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.14
Puke
#A5A502
ΔE00 2.45
Pea Soup
#929901
ΔE00 4.29
Baby Poop Green
#8F9805
ΔE00 4.94
Pea Soup Green
#94A617
ΔE00 5.65
Muddy Yellow
#BFAC05
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A022 #2227A5
analogous
#A55F22 #A5A022 #69A522
triadic
#A5A022 #22A5A0 #A022A5
tetradic
#A5A022 #22A55F #2227A5 #A52269
square
#A5A022 #22A55F #2227A5 #A52269
split-complementary
#A5A022 #2269A5 #5F22A5
monochromatic
#403E0D #726F18 #A5A022 #D4CE30 #DFDA63
Accessibility & contrast
On white
2.74
#A5A022 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#A5A022 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A022
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A022 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A022 | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#B29589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a5a022; /* rgb */ color: rgb(165, 160, 34); /* oklch */ color: oklch(68.9% 0.138 107.1);
Tailwind
colors: {
custom: {
50: '#c4bb69',
500: '#a5a022',
950: '#000000',
},
}SCSS
$custom: #a5a022; $custom-light: #c4bb69; $custom-dark: #000000;
JSON
{
"hex": "#a5a022",
"rgb": {
"r": 165,
"g": 160,
"b": 34
},
"hsl": {
"h": 57.71,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.68864,
"c": 0.13786,
"h": 107.1
},
"luminance": 0.33256
}Semantic roles & 50–950 ramp
primary
#A5A022
secondary
#5F63C4
accent
#46E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A