#A1B72A#A1B72A
#A1B72A is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.8% C 0.159 H 118.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B72A |
|---|---|
| RGB | rgb(161, 183, 42) |
| HSL | hsl(69, 63%, 44%) |
| HSV | hsv(69, 77%, 72%) |
| CMYK | cmyk(12%, 0%, 77%, 28.2%) |
| CIE-LAB | lab(70.60, -25.27, 63.73) |
| CIE-LCH | lch(70.60, 68.55, 111.63°) |
| OKLab | oklab(73.79% -0.0758 0.1399) |
| OKLCH | oklch(73.79% 0.159 118.5) |
| XYZ | xyz(32.0501, 41.6115, 8.5335) |
| Luminance | 0.4161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.31
Booger Green
#96B403
ΔE00 2.30
Bright Olive
#9CBB04
ΔE00 2.35
Pea
#A4BF20
ΔE00 2.35
Sickly Green
#94B21C
ΔE00 2.42
Booger
#9BB53C
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B72A #402AB7
analogous
#B7872A #A1B72A #5AB72A
triadic
#A1B72A #2AA1B7 #B72AA1
tetradic
#A1B72A #2AB787 #402AB7 #B72A5A
square
#A1B72A #2AB787 #402AB7 #B72A5A
split-complementary
#A1B72A #2A5AB7 #872AB7
monochromatic
#495313 #75851F #A1B72A #BFD549 #D1E17B
Accessibility & contrast
On white
2.25
#A1B72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#A1B72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B72A
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B72A | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD01
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#ABAD9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a1b72a; /* rgb */ color: rgb(161, 183, 42); /* oklch */ color: oklch(73.8% 0.159 118.5);
Tailwind
colors: {
custom: {
50: '#c0cc6f',
500: '#a1b72a',
950: '#000000',
},
}SCSS
$custom: #a1b72a; $custom-light: #c0cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a1b72a",
"rgb": {
"r": 161,
"g": 183,
"b": 42
},
"hsl": {
"h": 69.362,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.73794,
"c": 0.15913,
"h": 118.5
},
"luminance": 0.41611
}Semantic roles & 50–950 ramp
primary
#A1B72A
secondary
#8174C9
accent
#42E65C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B