#A5B021#A5B021
#A5B021 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.154 H 114.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B021 |
|---|---|
| RGB | rgb(165, 176, 33) |
| HSL | hsl(65, 68%, 41%) |
| HSV | hsv(65, 81%, 69%) |
| CMYK | cmyk(6.2%, 0%, 81.3%, 31%) |
| CIE-LAB | lab(68.87, -20.46, 64.90) |
| CIE-LCH | lch(68.87, 68.05, 107.50°) |
| OKLab | oklab(72.46% -0.0635 0.1407) |
| OKLCH | oklch(72.46% 0.154 114.3) |
| XYZ | xyz(31.3179, 39.1604, 7.3475) |
| Luminance | 0.3916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.01
Puke Green
#9AAE07
ΔE00 2.25
Snot
#ACBB0D
ΔE00 3.31
Barf Green
#94AC02
ΔE00 3.34
Pea Soup Green
#94A617
ΔE00 3.75
Vomit
#A2A415
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B021 #2C21B0
analogous
#B07321 #A5B021 #5EB021
triadic
#A5B021 #21A5B0 #B021A5
tetradic
#A5B021 #21B073 #2C21B0 #B0215E
square
#A5B021 #21B073 #2C21B0 #B0215E
split-complementary
#A5B021 #215EB0 #7321B0
monochromatic
#44490E #757C17 #A5B021 #CDD935 #D9E369
Accessibility & contrast
On white
2.38
#A5B021 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A5B021 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B021
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B021 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B021 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA92F
Tritanopia (blue-blind)
#B0A596
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5b021; /* rgb */ color: rgb(165, 176, 33); /* oklch */ color: oklch(72.5% 0.154 114.3);
Tailwind
colors: {
custom: {
50: '#c4c76b',
500: '#a5b021',
950: '#000000',
},
}SCSS
$custom: #a5b021; $custom-light: #c4c76b; $custom-dark: #000000;
JSON
{
"hex": "#a5b021",
"rgb": {
"r": 165,
"g": 176,
"b": 33
},
"hsl": {
"h": 64.615,
"s": 68.421,
"l": 40.98
},
"oklch": {
"l": 0.72462,
"c": 0.15434,
"h": 114.3
},
"luminance": 0.3916
}Semantic roles & 50–950 ramp
primary
#A5B021
secondary
#6C64C8
accent
#3DEB4A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A