#A5A922#A5A922
#A5A922 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.147 H 111.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A922 |
|---|---|
| RGB | rgb(165, 169, 34) |
| HSL | hsl(62, 67%, 40%) |
| HSV | hsv(62, 80%, 66%) |
| CMYK | cmyk(2.4%, 0%, 79.9%, 33.7%) |
| CIE-LAB | lab(66.89, -16.89, 62.89) |
| CIE-LCH | lch(66.89, 65.12, 105.03°) |
| OKLab | oklab(70.88% -0.0535 0.1366) |
| OKLCH | oklch(70.88% 0.147 111.4) |
| XYZ | xyz(29.9948, 36.4916, 6.9766) |
| Luminance | 0.3649 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.59
Puke
#A5A502
ΔE00 2.06
Puke Green
#9AAE07
ΔE00 3.68
Pea Soup Green
#94A617
ΔE00 3.70
Mustard Green
#A8B504
ΔE00 3.93
Barf Green
#94AC02
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A922 #2622A9
analogous
#A96A22 #A5A922 #61A922
triadic
#A5A922 #22A5A9 #A922A5
tetradic
#A5A922 #22A96A #2622A9 #A92261
square
#A5A922 #22A96A #2622A9 #A92261
split-complementary
#A5A922 #2261A9 #6A22A9
monochromatic
#42430D #737618 #A5A922 #D1D632 #DCE065
Accessibility & contrast
On white
2.53
#A5A922 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#A5A922 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A922
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A922 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#B19E90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5a922; /* rgb */ color: rgb(165, 169, 34); /* oklch */ color: oklch(70.9% 0.147 111.4);
Tailwind
colors: {
custom: {
50: '#c3c26a',
500: '#a5a922',
950: '#000000',
},
}SCSS
$custom: #a5a922; $custom-light: #c3c26a; $custom-dark: #000000;
JSON
{
"hex": "#a5a922",
"rgb": {
"r": 165,
"g": 169,
"b": 34
},
"hsl": {
"h": 61.778,
"s": 66.502,
"l": 39.804
},
"oklch": {
"l": 0.70882,
"c": 0.14666,
"h": 111.4
},
"luminance": 0.36491
}Semantic roles & 50–950 ramp
primary
#A5A922
secondary
#6461C5
accent
#3EE943
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A