#A2B22E#A2B22E
#A2B22E is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.151 H 116.4°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B22E |
|---|---|
| RGB | rgb(162, 178, 46) |
| HSL | hsl(67, 59%, 44%) |
| HSV | hsv(67, 74%, 70%) |
| CMYK | cmyk(9%, 0%, 74.2%, 30.2%) |
| CIE-LAB | lab(69.27, -22.21, 61.20) |
| CIE-LCH | lch(69.27, 65.11, 109.94°) |
| OKLab | oklab(72.75% -0.0671 0.1352) |
| OKLCH | oklch(72.75% 0.151 116.4) |
| XYZ | xyz(31.3146, 39.7199, 8.6013) |
| Luminance | 0.3972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.35
Sick Green
#9DB92C
ΔE00 2.80
Booger
#9BB53C
ΔE00 2.90
Sickly Green
#94B21C
ΔE00 2.95
Mustard Green
#A8B504
ΔE00 3.01
Barf Green
#94AC02
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B22E #3E2EB2
analogous
#B2802E #A2B22E #60B22E
triadic
#A2B22E #2EA2B2 #B22EA2
tetradic
#A2B22E #2EB280 #3E2EB2 #B22E60
square
#A2B22E #2EB280 #3E2EB2 #B22E60
split-complementary
#A2B22E #2E60B2 #802EB2
monochromatic
#495115 #768121 #A2B22E #C1D14C #D2DD7D
Accessibility & contrast
On white
2.35
#A2B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#A2B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B22E
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B22E | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA812
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b22e; /* rgb */ color: rgb(162, 178, 46); /* oklch */ color: oklch(72.7% 0.151 116.4);
Tailwind
colors: {
custom: {
50: '#c1c871',
500: '#a2b22e',
950: '#000000',
},
}SCSS
$custom: #a2b22e; $custom-light: #c1c871; $custom-dark: #000000;
JSON
{
"hex": "#a2b22e",
"rgb": {
"r": 162,
"g": 178,
"b": 46
},
"hsl": {
"h": 67.273,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.72748,
"c": 0.15095,
"h": 116.4
},
"luminance": 0.39719
}Semantic roles & 50–950 ramp
primary
#A2B22E
secondary
#8076C6
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B