#A5B31A#A5B31A
#A5B31A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.160 H 115.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B31A |
|---|---|
| RGB | rgb(165, 179, 26) |
| HSL | hsl(65, 75%, 40%) |
| HSV | hsv(65, 85%, 70%) |
| CMYK | cmyk(7.8%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(69.69, -22.17, 67.31) |
| CIE-LCH | lch(69.69, 70.87, 108.23°) |
| OKLab | oklab(73.12% -0.0686 0.1447) |
| OKLCH | oklch(73.12% 0.16 115.4) |
| XYZ | xyz(31.8246, 40.3147, 7.0821) |
| Luminance | 0.4031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.23
Puke Green
#9AAE07
ΔE00 2.17
Snot
#ACBB0D
ΔE00 2.40
Booger Green
#96B403
ΔE00 3.27
Barf Green
#94AC02
ΔE00 3.32
Sick Green
#9DB92C
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B31A #281AB3
analogous
#B3741A #A5B31A #59B31A
triadic
#A5B31A #1AA5B3 #B31AA5
tetradic
#A5B31A #1AB374 #281AB3 #B31A59
square
#A5B31A #1AB374 #281AB3 #B31A59
split-complementary
#A5B31A #1A59B3 #741AB3
monochromatic
#42480A #747E12 #A5B31A #CFE02A #DBE860
Accessibility & contrast
On white
2.32
#A5B31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A5B31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B31A
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B31A | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b31a; /* rgb */ color: rgb(165, 179, 26); /* oklch */ color: oklch(73.1% 0.160 115.4);
Tailwind
colors: {
custom: {
50: '#c4c969',
500: '#a5b31a',
950: '#000000',
},
}SCSS
$custom: #a5b31a; $custom-light: #c4c969; $custom-dark: #000000;
JSON
{
"hex": "#a5b31a",
"rgb": {
"r": 165,
"g": 179,
"b": 26
},
"hsl": {
"h": 65.49,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.73117,
"c": 0.16017,
"h": 115.4
},
"luminance": 0.40314
}Semantic roles & 50–950 ramp
primary
#A5B31A
secondary
#675DCC
accent
#37F148
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A