#A1B22F#A1B22F
#A1B22F is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.151 H 116.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B22F |
|---|---|
| RGB | rgb(161, 178, 47) |
| HSL | hsl(68, 58%, 44%) |
| HSV | hsv(68, 74%, 70%) |
| CMYK | cmyk(9.6%, 0%, 73.6%, 30.2%) |
| CIE-LAB | lab(69.20, -22.58, 60.77) |
| CIE-LCH | lch(69.20, 64.83, 110.39°) |
| OKLab | oklab(72.68% -0.068 0.1345) |
| OKLCH | oklch(72.68% 0.151 116.8) |
| XYZ | xyz(31.1322, 39.6235, 8.6968) |
| Luminance | 0.3962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.39
Booger
#9BB53C
ΔE00 2.63
Sick Green
#9DB92C
ΔE00 2.64
Sickly Green
#94B21C
ΔE00 2.76
Barf Green
#94AC02
ΔE00 3.03
Booger Green
#96B403
ΔE00 3.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B22F #402FB2
analogous
#B2822F #A1B22F #60B22F
triadic
#A1B22F #2FA1B2 #B22FA1
tetradic
#A1B22F #2FB282 #402FB2 #B22F60
square
#A1B22F #2FB282 #402FB2 #B22F60
split-complementary
#A1B22F #2F60B2 #822FB2
monochromatic
#495115 #758222 #A1B22F #BFD04E #D1DD7E
Accessibility & contrast
On white
2.35
#A1B22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#A1B22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B22F
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B22F | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA814
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b22f; /* rgb */ color: rgb(161, 178, 47); /* oklch */ color: oklch(72.7% 0.151 116.8);
Tailwind
colors: {
custom: {
50: '#c0c871',
500: '#a1b22f',
950: '#000000',
},
}SCSS
$custom: #a1b22f; $custom-light: #c0c871; $custom-dark: #000000;
JSON
{
"hex": "#a1b22f",
"rgb": {
"r": 161,
"g": 178,
"b": 47
},
"hsl": {
"h": 67.786,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.72676,
"c": 0.15071,
"h": 116.8
},
"luminance": 0.39623
}Semantic roles & 50–950 ramp
primary
#A1B22F
secondary
#8177C6
accent
#46E15A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B