#A5B41A#A5B41A
#A5B41A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.3% C 0.161 H 115.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B41A |
|---|---|
| RGB | rgb(165, 180, 26) |
| HSL | hsl(66, 75%, 40%) |
| HSV | hsv(66, 86%, 71%) |
| CMYK | cmyk(8.3%, 0%, 85.6%, 29.4%) |
| CIE-LAB | lab(69.98, -22.66, 67.55) |
| CIE-LCH | lch(69.98, 71.25, 108.55°) |
| OKLab | oklab(73.35% -0.07 0.1453) |
| OKLCH | oklch(73.35% 0.161 115.7) |
| XYZ | xyz(32.0257, 40.7170, 7.1492) |
| Luminance | 0.4072 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.20
Snot
#ACBB0D
ΔE00 2.18
Puke Green
#9AAE07
ΔE00 2.25
Booger Green
#96B403
ΔE00 3.11
Bright Olive
#9CBB04
ΔE00 3.34
Sick Green
#9DB92C
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B41A #291AB4
analogous
#B4761A #A5B41A #58B41A
triadic
#A5B41A #1AA5B4 #B41AA5
tetradic
#A5B41A #1AB476 #291AB4 #B41A58
square
#A5B41A #1AB476 #291AB4 #B41A58
split-complementary
#A5B41A #1A58B4 #761AB4
monochromatic
#43490B #747F12 #A5B41A #CFE02B #DBE860
Accessibility & contrast
On white
2.30
#A5B41A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A5B41A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B41A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B41A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B41A | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2C
Tritanopia (blue-blind)
#B0A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5b41a; /* rgb */ color: rgb(165, 180, 26); /* oklch */ color: oklch(73.3% 0.161 115.7);
Tailwind
colors: {
custom: {
50: '#c4ca69',
500: '#a5b41a',
950: '#000000',
},
}SCSS
$custom: #a5b41a; $custom-light: #c4ca69; $custom-dark: #000000;
JSON
{
"hex": "#a5b41a",
"rgb": {
"r": 165,
"g": 180,
"b": 26
},
"hsl": {
"h": 65.844,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.73345,
"c": 0.16122,
"h": 115.7
},
"luminance": 0.40716
}Semantic roles & 50–950 ramp
primary
#A5B41A
secondary
#685DCC
accent
#36F149
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A