#A1B22D#A1B22D
#A1B22D is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.152 H 116.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B22D |
|---|---|
| RGB | rgb(161, 178, 45) |
| HSL | hsl(68, 60%, 44%) |
| HSV | hsv(68, 75%, 70%) |
| CMYK | cmyk(9.6%, 0%, 74.7%, 30.2%) |
| CIE-LAB | lab(69.19, -22.68, 61.44) |
| CIE-LCH | lch(69.19, 65.49, 110.26°) |
| OKLab | oklab(72.66% -0.0684 0.1356) |
| OKLCH | oklch(72.66% 0.152 116.8) |
| XYZ | xyz(31.0928, 39.6077, 8.4892) |
| Luminance | 0.3961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.24
Sick Green
#9DB92C
ΔE00 2.64
Sickly Green
#94B21C
ΔE00 2.73
Booger
#9BB53C
ΔE00 2.76
Barf Green
#94AC02
ΔE00 2.94
Booger Green
#96B403
ΔE00 2.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B22D #3E2DB2
analogous
#B2802D #A1B22D #5EB22D
triadic
#A1B22D #2DA1B2 #B22DA1
tetradic
#A1B22D #2DB280 #3E2DB2 #B22D5E
square
#A1B22D #2DB280 #3E2DB2 #B22D5E
split-complementary
#A1B22D #2D5EB2 #802DB2
monochromatic
#495014 #758121 #A1B22D #C0D14B #D1DE7C
Accessibility & contrast
On white
2.35
#A1B22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#A1B22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B22D
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B22D | 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)
#BEA80F
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b22d; /* rgb */ color: rgb(161, 178, 45); /* oklch */ color: oklch(72.7% 0.152 116.8);
Tailwind
colors: {
custom: {
50: '#c0c870',
500: '#a1b22d',
950: '#000000',
},
}SCSS
$custom: #a1b22d; $custom-light: #c0c870; $custom-dark: #000000;
JSON
{
"hex": "#a1b22d",
"rgb": {
"r": 161,
"g": 178,
"b": 45
},
"hsl": {
"h": 67.669,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.72663,
"c": 0.15187,
"h": 116.8
},
"luminance": 0.39607
}Semantic roles & 50–950 ramp
primary
#A1B22D
secondary
#7F75C6
accent
#45E359
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B