#A2B221#A2B221
#A2B221 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.157 H 116.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B221 |
|---|---|
| RGB | rgb(162, 178, 33) |
| HSL | hsl(67, 69%, 41%) |
| HSV | hsv(67, 81%, 70%) |
| CMYK | cmyk(9%, 0%, 81.5%, 30.2%) |
| CIE-LAB | lab(69.21, -22.74, 65.11) |
| CIE-LCH | lch(69.21, 68.96, 109.25°) |
| OKLab | oklab(72.68% -0.0696 0.1412) |
| OKLCH | oklch(72.68% 0.157 116.2) |
| XYZ | xyz(31.0961, 39.6324, 7.4503) |
| Luminance | 0.3963 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.73
Mustard Green
#A8B504
ΔE00 2.09
Barf Green
#94AC02
ΔE00 2.76
Booger Green
#96B403
ΔE00 2.81
Sickly Green
#94B21C
ΔE00 3.03
Sick Green
#9DB92C
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B221 #3121B2
analogous
#B27A21 #A2B221 #5AB221
triadic
#A2B221 #21A2B2 #B221A2
tetradic
#A2B221 #21B27A #3121B2 #B2215A
square
#A2B221 #21B27A #3121B2 #B2215A
split-complementary
#A2B221 #215AB2 #7A21B2
monochromatic
#444B0E #737E17 #A2B221 #C8DA36 #D6E36A
Accessibility & contrast
On white
2.35
#A2B221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#A2B221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B221
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B221 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#ADA798
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b221; /* rgb */ color: rgb(162, 178, 33); /* oklch */ color: oklch(72.7% 0.157 116.2);
Tailwind
colors: {
custom: {
50: '#c1c86b',
500: '#a2b221',
950: '#000000',
},
}SCSS
$custom: #a2b221; $custom-light: #c1c86b; $custom-dark: #000000;
JSON
{
"hex": "#a2b221",
"rgb": {
"r": 162,
"g": 178,
"b": 33
},
"hsl": {
"h": 66.621,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.72678,
"c": 0.15747,
"h": 116.2
},
"luminance": 0.39632
}Semantic roles & 50–950 ramp
primary
#A2B221
secondary
#7166C9
accent
#3CEC50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A