#A5AF22#A5AF22
#A5AF22 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.153 H 113.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF22 |
|---|---|
| RGB | rgb(165, 175, 34) |
| HSL | hsl(64, 67%, 41%) |
| HSV | hsv(64, 81%, 69%) |
| CMYK | cmyk(5.7%, 0%, 80.6%, 31.4%) |
| CIE-LAB | lab(68.59, -19.93, 64.38) |
| CIE-LCH | lch(68.59, 67.39, 107.20°) |
| OKLab | oklab(72.24% -0.0619 0.1398) |
| OKLCH | oklch(72.24% 0.153 113.9) |
| XYZ | xyz(31.1368, 38.7754, 7.3572) |
| Luminance | 0.3877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.27
Puke Green
#9AAE07
ΔE00 2.37
Barf Green
#94AC02
ΔE00 3.42
Vomit
#A2A415
ΔE00 3.45
Snot
#ACBB0D
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF22 #2C22AF
analogous
#AF7222 #A5AF22 #5EAF22
triadic
#A5AF22 #22A5AF #AF22A5
tetradic
#A5AF22 #22AF72 #2C22AF #AF225E
square
#A5AF22 #22AF72 #2C22AF #AF225E
split-complementary
#A5AF22 #225EAF #7222AF
monochromatic
#44490E #757C18 #A5AF22 #CDD836 #D9E269
Accessibility & contrast
On white
2.40
#A5AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#A5AF22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF22
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF22 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA930
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a5af22; /* rgb */ color: rgb(165, 175, 34); /* oklch */ color: oklch(72.2% 0.153 113.9);
Tailwind
colors: {
custom: {
50: '#c4c66b',
500: '#a5af22',
950: '#000000',
},
}SCSS
$custom: #a5af22; $custom-light: #c4c66b; $custom-dark: #000000;
JSON
{
"hex": "#a5af22",
"rgb": {
"r": 165,
"g": 175,
"b": 34
},
"hsl": {
"h": 64.255,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.72239,
"c": 0.15285,
"h": 113.9
},
"luminance": 0.38775
}Semantic roles & 50–950 ramp
primary
#A5AF22
secondary
#6C65C8
accent
#3DEA4A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A