#A2B22F#A2B22F
#A2B22F is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.150 H 116.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B22F |
|---|---|
| RGB | rgb(162, 178, 47) |
| HSL | hsl(67, 58%, 44%) |
| HSV | hsv(67, 74%, 70%) |
| CMYK | cmyk(9%, 0%, 73.6%, 30.2%) |
| CIE-LAB | lab(69.28, -22.16, 60.86) |
| CIE-LCH | lch(69.28, 64.77, 110.00°) |
| OKLab | oklab(72.75% -0.0669 0.1347) |
| OKLCH | oklch(72.75% 0.15 116.4) |
| XYZ | xyz(31.3346, 39.7278, 8.7063) |
| Luminance | 0.3973 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.42
Sick Green
#9DB92C
ΔE00 2.80
Booger
#9BB53C
ΔE00 2.84
Sickly Green
#94B21C
ΔE00 2.97
Mustard Green
#A8B504
ΔE00 3.09
Barf Green
#94AC02
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B22F #3F2FB2
analogous
#B2812F #A2B22F #61B22F
triadic
#A2B22F #2FA2B2 #B22FA2
tetradic
#A2B22F #2FB281 #3F2FB2 #B22F61
square
#A2B22F #2FB281 #3F2FB2 #B22F61
split-complementary
#A2B22F #2F61B2 #812FB2
monochromatic
#4A5115 #768222 #A2B22F #C0D04E #D1DD7E
Accessibility & contrast
On white
2.35
#A2B22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#A2B22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B22F
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B22F | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA914
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b22f; /* rgb */ color: rgb(162, 178, 47); /* oklch */ color: oklch(72.8% 0.150 116.4);
Tailwind
colors: {
custom: {
50: '#c1c871',
500: '#a2b22f',
950: '#000000',
},
}SCSS
$custom: #a2b22f; $custom-light: #c1c871; $custom-dark: #000000;
JSON
{
"hex": "#a2b22f",
"rgb": {
"r": 162,
"g": 178,
"b": 47
},
"hsl": {
"h": 67.328,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.72754,
"c": 0.15037,
"h": 116.4
},
"luminance": 0.39727
}Semantic roles & 50–950 ramp
primary
#A2B22F
secondary
#8177C6
accent
#46E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B