#A1B52A#A1B52A
#A1B52A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.3% C 0.157 H 117.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B52A |
|---|---|
| RGB | rgb(161, 181, 42) |
| HSL | hsl(69, 62%, 44%) |
| HSV | hsv(69, 77%, 71%) |
| CMYK | cmyk(11%, 0%, 76.8%, 29%) |
| CIE-LAB | lab(70.03, -24.29, 63.20) |
| CIE-LCH | lch(70.03, 67.71, 111.03°) |
| OKLab | oklab(73.33% -0.0731 0.1388) |
| OKLCH | oklch(73.33% 0.157 117.8) |
| XYZ | xyz(31.6405, 40.7923, 8.3969) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.81
Booger Green
#96B403
ΔE00 2.40
Sickly Green
#94B21C
ΔE00 2.42
Puke Green
#9AAE07
ΔE00 2.47
Booger
#9BB53C
ΔE00 2.61
Bright Olive
#9CBB04
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B52A #3E2AB5
analogous
#B5832A #A1B52A #5BB52A
triadic
#A1B52A #2AA1B5 #B52AA1
tetradic
#A1B52A #2AB583 #3E2AB5 #B52A5B
square
#A1B52A #2AB583 #3E2AB5 #B52A5B
split-complementary
#A1B52A #2A5BB5 #832AB5
monochromatic
#495213 #75831E #A1B52A #C0D448 #D1E079
Accessibility & contrast
On white
2.29
#A1B52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A1B52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B52A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B52A | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB02
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#ABAB9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a1b52a; /* rgb */ color: rgb(161, 181, 42); /* oklch */ color: oklch(73.3% 0.157 117.8);
Tailwind
colors: {
custom: {
50: '#c0cb6f',
500: '#a1b52a',
950: '#000000',
},
}SCSS
$custom: #a1b52a; $custom-light: #c0cb6f; $custom-dark: #000000;
JSON
{
"hex": "#a1b52a",
"rgb": {
"r": 161,
"g": 181,
"b": 42
},
"hsl": {
"h": 68.633,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.73334,
"c": 0.15687,
"h": 117.8
},
"luminance": 0.40792
}Semantic roles & 50–950 ramp
primary
#A1B52A
secondary
#7F73C8
accent
#42E55A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B