#A5B322#A5B322
#A5B322 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.157 H 115.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B322 |
|---|---|
| RGB | rgb(165, 179, 34) |
| HSL | hsl(66, 68%, 42%) |
| HSV | hsv(66, 81%, 70%) |
| CMYK | cmyk(7.8%, 0%, 81%, 29.8%) |
| CIE-LAB | lab(69.72, -21.92, 65.38) |
| CIE-LCH | lch(69.72, 68.95, 108.54°) |
| OKLab | oklab(73.15% -0.0674 0.1419) |
| OKLCH | oklch(73.15% 0.157 115.4) |
| XYZ | xyz(31.9268, 40.3556, 7.6206) |
| Luminance | 0.4036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.68
Puke Green
#9AAE07
ΔE00 2.23
Snot
#ACBB0D
ΔE00 2.65
Booger Green
#96B403
ΔE00 3.27
Barf Green
#94AC02
ΔE00 3.32
Sick Green
#9DB92C
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B322 #3022B3
analogous
#B37922 #A5B322 #5DB322
triadic
#A5B322 #22A5B3 #B322A5
tetradic
#A5B322 #22B379 #3022B3 #B3225D
square
#A5B322 #22B379 #3022B3 #B3225D
split-complementary
#A5B322 #225DB3 #7922B3
monochromatic
#464C0E #768018 #A5B322 #CAD939 #D8E36C
Accessibility & contrast
On white
2.32
#A5B322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A5B322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B322
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B322 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB31
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b322; /* rgb */ color: rgb(165, 179, 34); /* oklch */ color: oklch(73.1% 0.157 115.4);
Tailwind
colors: {
custom: {
50: '#c4c96c',
500: '#a5b322',
950: '#000000',
},
}SCSS
$custom: #a5b322; $custom-light: #c4c96c; $custom-dark: #000000;
JSON
{
"hex": "#a5b322",
"rgb": {
"r": 165,
"g": 179,
"b": 34
},
"hsl": {
"h": 65.793,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.73149,
"c": 0.15708,
"h": 115.4
},
"luminance": 0.40355
}Semantic roles & 50–950 ramp
primary
#A5B322
secondary
#7168C9
accent
#3DEB4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A