#A1B52E#A1B52E
#A1B52E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.155 H 117.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B52E |
|---|---|
| RGB | rgb(161, 181, 46) |
| HSL | hsl(69, 59%, 45%) |
| HSV | hsv(69, 75%, 71%) |
| CMYK | cmyk(11%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(70.05, -24.11, 61.92) |
| CIE-LCH | lch(70.05, 66.44, 111.27°) |
| OKLab | oklab(73.36% -0.0723 0.1368) |
| OKLCH | oklch(73.36% 0.155 117.9) |
| XYZ | xyz(31.7157, 40.8224, 8.7930) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.75
Booger
#9BB53C
ΔE00 2.31
Sickly Green
#94B21C
ΔE00 2.45
Booger Green
#96B403
ΔE00 2.59
Puke Green
#9AAE07
ΔE00 2.69
Bright Olive
#9CBB04
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B52E #422EB5
analogous
#B5862E #A1B52E #5EB52E
triadic
#A1B52E #2EA1B5 #B52EA1
tetradic
#A1B52E #2EB586 #422EB5 #B52E5E
square
#A1B52E #2EB586 #422EB5 #B52E5E
split-complementary
#A1B52E #2E5EB5 #862EB5
monochromatic
#4A5315 #768422 #A1B52E #BFD24E #D0DE7F
Accessibility & contrast
On white
2.29
#A1B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A1B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B52E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B52E | 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)
#C1AB10
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#ABAB9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a1b52e; /* rgb */ color: rgb(161, 181, 46); /* oklch */ color: oklch(73.4% 0.155 117.9);
Tailwind
colors: {
custom: {
50: '#c0cb71',
500: '#a1b52e',
950: '#000000',
},
}SCSS
$custom: #a1b52e; $custom-light: #c0cb71; $custom-dark: #000000;
JSON
{
"hex": "#a1b52e",
"rgb": {
"r": 161,
"g": 181,
"b": 46
},
"hsl": {
"h": 68.889,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.73358,
"c": 0.1547,
"h": 117.9
},
"luminance": 0.40822
}Semantic roles & 50–950 ramp
primary
#A1B52E
secondary
#8378C7
accent
#45E35C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B