#A6B221#A6B221
#A6B221 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.156 H 114.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B221 |
|---|---|
| RGB | rgb(166, 178, 33) |
| HSL | hsl(65, 69%, 41%) |
| HSV | hsv(65, 81%, 70%) |
| CMYK | cmyk(6.7%, 0%, 81.5%, 30.2%) |
| CIE-LAB | lab(69.51, -21.03, 65.49) |
| CIE-LCH | lch(69.51, 68.78, 107.80°) |
| OKLab | oklab(73% -0.0651 0.1419) |
| OKLCH | oklch(73% 0.156 114.6) |
| XYZ | xyz(31.9218, 40.0582, 7.4890) |
| Luminance | 0.4006 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.61
Puke Green
#9AAE07
ΔE00 2.36
Snot
#ACBB0D
ΔE00 2.78
Barf Green
#94AC02
ΔE00 3.48
Booger Green
#96B403
ΔE00 3.68
Sick Green
#9DB92C
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B221 #2D21B2
analogous
#B27621 #A6B221 #5DB221
triadic
#A6B221 #21A6B2 #B221A6
tetradic
#A6B221 #21B276 #2D21B2 #B2215D
square
#A6B221 #21B276 #2D21B2 #B2215D
split-complementary
#A6B221 #215DB2 #7621B2
monochromatic
#464B0E #767E17 #A6B221 #CCDA36 #D9E36A
Accessibility & contrast
On white
2.33
#A6B221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A6B221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B221
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B221 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BFAB30
Tritanopia (blue-blind)
#B1A798
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b221; /* rgb */ color: rgb(166, 178, 33); /* oklch */ color: oklch(73.0% 0.156 114.6);
Tailwind
colors: {
custom: {
50: '#c4c86b',
500: '#a6b221',
950: '#000000',
},
}SCSS
$custom: #a6b221; $custom-light: #c4c86b; $custom-dark: #000000;
JSON
{
"hex": "#a6b221",
"rgb": {
"r": 166,
"g": 178,
"b": 33
},
"hsl": {
"h": 64.966,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.72998,
"c": 0.15613,
"h": 114.6
},
"luminance": 0.40058
}Semantic roles & 50–950 ramp
primary
#A6B221
secondary
#6E66C9
accent
#3CEC4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A