#A5B01A#A5B01A
#A5B01A is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.157 H 114.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B01A |
|---|---|
| RGB | rgb(165, 176, 26) |
| HSL | hsl(64, 74%, 40%) |
| HSV | hsv(64, 85%, 69%) |
| CMYK | cmyk(6.2%, 0%, 85.2%, 31%) |
| CIE-LAB | lab(68.84, -20.68, 66.60) |
| CIE-LCH | lch(68.84, 69.74, 107.25°) |
| OKLab | oklab(72.43% -0.0645 0.1432) |
| OKLCH | oklch(72.43% 0.157 114.3) |
| XYZ | xyz(31.2299, 39.1252, 6.8839) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.71
Puke Green
#9AAE07
ΔE00 2.21
Snot
#ACBB0D
ΔE00 3.14
Barf Green
#94AC02
ΔE00 3.35
Vomit
#A2A415
ΔE00 3.72
Puke
#A5A502
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B01A #251AB0
analogous
#B0701A #A5B01A #5AB01A
triadic
#A5B01A #1AA5B0 #B01AA5
tetradic
#A5B01A #1AB070 #251AB0 #B01A5A
square
#A5B01A #1AB070 #251AB0 #B01A5A
split-complementary
#A5B01A #1A5AB0 #701AB0
monochromatic
#41450A #737B12 #A5B01A #D2DF28 #DDE75D
Accessibility & contrast
On white
2.38
#A5B01A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#A5B01A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B01A
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B01A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B01A | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDA92B
Tritanopia (blue-blind)
#B1A596
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5b01a; /* rgb */ color: rgb(165, 176, 26); /* oklch */ color: oklch(72.4% 0.157 114.3);
Tailwind
colors: {
custom: {
50: '#c4c768',
500: '#a5b01a',
950: '#000000',
},
}SCSS
$custom: #a5b01a; $custom-light: #c4c768; $custom-dark: #000000;
JSON
{
"hex": "#a5b01a",
"rgb": {
"r": 165,
"g": 176,
"b": 26
},
"hsl": {
"h": 64.4,
"s": 74.257,
"l": 39.608
},
"oklch": {
"l": 0.72433,
"c": 0.15705,
"h": 114.3
},
"luminance": 0.39125
}Semantic roles & 50–950 ramp
primary
#A5B01A
secondary
#635BCB
accent
#37F145
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A