#A1B221#A1B221
#A1B221 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.158 H 116.6°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B221 |
|---|---|
| RGB | rgb(161, 178, 33) |
| HSL | hsl(67, 69%, 41%) |
| HSV | hsv(67, 81%, 70%) |
| CMYK | cmyk(9.6%, 0%, 81.5%, 30.2%) |
| CIE-LAB | lab(69.13, -23.17, 65.01) |
| CIE-LCH | lch(69.13, 69.02, 109.61°) |
| OKLab | oklab(72.6% -0.0707 0.1411) |
| OKLCH | oklch(72.6% 0.158 116.6) |
| XYZ | xyz(30.8937, 39.5281, 7.4408) |
| Luminance | 0.3953 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.63
Mustard Green
#A8B504
ΔE00 2.25
Barf Green
#94AC02
ΔE00 2.60
Booger Green
#96B403
ΔE00 2.61
Sickly Green
#94B21C
ΔE00 2.80
Sick Green
#9DB92C
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B221 #3221B2
analogous
#B27B21 #A1B221 #59B221
triadic
#A1B221 #21A1B2 #B221A1
tetradic
#A1B221 #21B27B #3221B2 #B22159
square
#A1B221 #21B27B #3221B2 #B22159
split-complementary
#A1B221 #2159B2 #7B21B2
monochromatic
#444B0E #727E17 #A1B221 #C7DA36 #D5E36A
Accessibility & contrast
On white
2.36
#A1B221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#A1B221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B221
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B221 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDAA30
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b221; /* rgb */ color: rgb(161, 178, 33); /* oklch */ color: oklch(72.6% 0.158 116.6);
Tailwind
colors: {
custom: {
50: '#c1c86b',
500: '#a1b221',
950: '#000000',
},
}SCSS
$custom: #a1b221; $custom-light: #c1c86b; $custom-dark: #000000;
JSON
{
"hex": "#a1b221",
"rgb": {
"r": 161,
"g": 178,
"b": 33
},
"hsl": {
"h": 67.034,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.72599,
"c": 0.15781,
"h": 116.6
},
"luminance": 0.39528
}Semantic roles & 50–950 ramp
primary
#A1B221
secondary
#7166C9
accent
#3CEC51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A