#A5A122#A5A122
#A5A122 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.139 H 107.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A122 |
|---|---|
| RGB | rgb(165, 161, 34) |
| HSL | hsl(58, 66%, 39%) |
| HSV | hsv(58, 79%, 65%) |
| CMYK | cmyk(0%, 2.4%, 79.4%, 35.3%) |
| CIE-LAB | lab(64.65, -12.76, 60.90) |
| CIE-LCH | lch(64.65, 62.22, 101.83°) |
| OKLab | oklab(69.09% -0.042 0.1323) |
| OKLCH | oklch(69.09% 0.139 107.6) |
| XYZ | xyz(28.5518, 33.6056, 6.4956) |
| Luminance | 0.3361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.81
Puke
#A5A502
ΔE00 2.18
Pea Soup
#929901
ΔE00 4.28
Baby Poop Green
#8F9805
ΔE00 4.92
Pea Soup Green
#94A617
ΔE00 5.36
Puke Green
#9AAE07
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A122 #2226A5
analogous
#A56022 #A5A122 #68A522
triadic
#A5A122 #22A5A1 #A122A5
tetradic
#A5A122 #22A560 #2226A5 #A52268
square
#A5A122 #22A560 #2226A5 #A52268
split-complementary
#A5A122 #2268A5 #6022A5
monochromatic
#403E0D #726F18 #A5A122 #D4CF30 #DFDB63
Accessibility & contrast
On white
2.72
#A5A122 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#A5A122 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A122
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A122 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A122 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B19F2D
Tritanopia (blue-blind)
#B1968A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a5a122; /* rgb */ color: rgb(165, 161, 34); /* oklch */ color: oklch(69.1% 0.139 107.6);
Tailwind
colors: {
custom: {
50: '#c3bc69',
500: '#a5a122',
950: '#000000',
},
}SCSS
$custom: #a5a122; $custom-light: #c3bc69; $custom-dark: #000000;
JSON
{
"hex": "#a5a122",
"rgb": {
"r": 165,
"g": 161,
"b": 34
},
"hsl": {
"h": 58.168,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.69087,
"c": 0.1388,
"h": 107.6
},
"luminance": 0.33605
}Semantic roles & 50–950 ramp
primary
#A5A122
secondary
#5F62C4
accent
#44E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A