#A6B021#A6B021
#A6B021 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.154 H 113.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B021 |
|---|---|
| RGB | rgb(166, 176, 33) |
| HSL | hsl(64, 68%, 41%) |
| HSV | hsv(64, 81%, 69%) |
| CMYK | cmyk(5.7%, 0%, 81.3%, 31%) |
| CIE-LAB | lab(68.94, -20.03, 65.00) |
| CIE-LCH | lch(68.94, 68.01, 107.13°) |
| OKLab | oklab(72.54% -0.0623 0.1409) |
| OKLCH | oklch(72.54% 0.154 113.9) |
| XYZ | xyz(31.5268, 39.2681, 7.3573) |
| Luminance | 0.3927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.98
Puke Green
#9AAE07
ΔE00 2.46
Snot
#ACBB0D
ΔE00 3.30
Barf Green
#94AC02
ΔE00 3.55
Vomit
#A2A415
ΔE00 3.67
Puke
#A5A502
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B021 #2B21B0
analogous
#B07221 #A6B021 #5EB021
triadic
#A6B021 #21A6B0 #B021A6
tetradic
#A6B021 #21B072 #2B21B0 #B0215E
square
#A6B021 #21B072 #2B21B0 #B0215E
split-complementary
#A6B021 #215EB0 #7221B0
monochromatic
#45490E #757C17 #A6B021 #CED935 #DAE369
Accessibility & contrast
On white
2.37
#A6B021 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A6B021 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B021
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B021 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B021 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDAA2F
Tritanopia (blue-blind)
#B2A596
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6b021; /* rgb */ color: rgb(166, 176, 33); /* oklch */ color: oklch(72.5% 0.154 113.9);
Tailwind
colors: {
custom: {
50: '#c4c76b',
500: '#a6b021',
950: '#000000',
},
}SCSS
$custom: #a6b021; $custom-light: #c4c76b; $custom-dark: #000000;
JSON
{
"hex": "#a6b021",
"rgb": {
"r": 166,
"g": 176,
"b": 33
},
"hsl": {
"h": 64.196,
"s": 68.421,
"l": 40.98
},
"oklch": {
"l": 0.72544,
"c": 0.15403,
"h": 113.9
},
"luminance": 0.39267
}Semantic roles & 50–950 ramp
primary
#A6B021
secondary
#6B64C8
accent
#3DEB49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A