#A5A22E#A5A22E
#A5A22E is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.133 H 107.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A22E |
|---|---|
| RGB | rgb(165, 162, 46) |
| HSL | hsl(58, 56%, 41%) |
| HSV | hsv(58, 72%, 65%) |
| CMYK | cmyk(0%, 1.8%, 72.1%, 35.3%) |
| CIE-LAB | lab(64.99, -12.77, 57.19) |
| CIE-LCH | lch(64.99, 58.59, 102.58°) |
| OKLab | oklab(69.38% -0.041 0.1266) |
| OKLCH | oklch(69.38% 0.133 107.9) |
| XYZ | xyz(28.9316, 34.0382, 7.6303) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.26
Puke
#A5A502
ΔE00 2.92
Pea Soup
#929901
ΔE00 4.57
Baby Poop Green
#8F9805
ΔE00 5.11
Pea Soup Green
#94A617
ΔE00 5.17
Puke Green
#9AAE07
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A22E #2E31A5
analogous
#A5672E #A5A22E #6DA52E
triadic
#A5A22E #2EA5A2 #A22EA5
tetradic
#A5A22E #2EA567 #2E31A5 #A52E6D
square
#A5A22E #2EA567 #2E31A5 #A52E6D
split-complementary
#A5A22E #2E6DA5 #672EA5
monochromatic
#454413 #757321 #A5A22E #CBC845 #D8D675
Accessibility & contrast
On white
2.69
#A5A22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A5A22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A22E
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A22E | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B19
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a22e; /* rgb */ color: rgb(165, 162, 46); /* oklch */ color: oklch(69.4% 0.133 107.9);
Tailwind
colors: {
custom: {
50: '#c3bd6f',
500: '#a5a22e',
950: '#000000',
},
}SCSS
$custom: #a5a22e; $custom-light: #c3bd6f; $custom-dark: #000000;
JSON
{
"hex": "#a5a22e",
"rgb": {
"r": 165,
"g": 162,
"b": 46
},
"hsl": {
"h": 58.487,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.69383,
"c": 0.1331,
"h": 107.9
},
"luminance": 0.34037
}Semantic roles & 50–950 ramp
primary
#A5A22E
secondary
#6F71C0
accent
#4CE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B