#A5A224#A5A224
#A5A224 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.139 H 108.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A224 |
|---|---|
| RGB | rgb(165, 162, 36) |
| HSL | hsl(59, 64%, 39%) |
| HSV | hsv(59, 78%, 65%) |
| CMYK | cmyk(0%, 1.8%, 78.2%, 35.3%) |
| CIE-LAB | lab(64.94, -13.20, 60.55) |
| CIE-LCH | lch(64.94, 61.97, 102.30°) |
| OKLab | oklab(69.32% -0.0431 0.1319) |
| OKLCH | oklch(69.32% 0.139 108.1) |
| XYZ | xyz(28.7570, 33.9683, 6.7105) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.59
Puke
#A5A502
ΔE00 2.08
Pea Soup
#929901
ΔE00 4.32
Baby Poop Green
#8F9805
ΔE00 4.94
Pea Soup Green
#94A617
ΔE00 5.08
Puke Green
#9AAE07
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A224 #2427A5
analogous
#A56224 #A5A224 #67A524
triadic
#A5A224 #24A5A2 #A224A5
tetradic
#A5A224 #24A562 #2427A5 #A52467
square
#A5A224 #24A562 #2427A5 #A52467
split-complementary
#A5A224 #2467A5 #6224A5
monochromatic
#413F0E #737119 #A5A224 #D3CF34 #DEDB66
Accessibility & contrast
On white
2.69
#A5A224 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#A5A224 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A224
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A224 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A224 | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a224; /* rgb */ color: rgb(165, 162, 36); /* oklch */ color: oklch(69.3% 0.139 108.1);
Tailwind
colors: {
custom: {
50: '#c3bd6a',
500: '#a5a224',
950: '#000000',
},
}SCSS
$custom: #a5a224; $custom-light: #c3bd6a; $custom-dark: #000000;
JSON
{
"hex": "#a5a224",
"rgb": {
"r": 165,
"g": 162,
"b": 36
},
"hsl": {
"h": 58.605,
"s": 64.179,
"l": 39.412
},
"oklch": {
"l": 0.69321,
"c": 0.13878,
"h": 108.1
},
"luminance": 0.33967
}Semantic roles & 50–950 ramp
primary
#A5A224
secondary
#6264C3
accent
#44E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A