#A1B151#A1B151
#A1B151 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.8% C 0.123 H 117.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B151 |
|---|---|
| RGB | rgb(161, 177, 81) |
| HSL | hsl(70, 38%, 51%) |
| HSV | hsv(70, 54%, 69%) |
| CMYK | cmyk(9%, 0%, 54.2%, 30.6%) |
| CIE-LAB | lab(69.19, -19.73, 46.55) |
| CIE-LCH | lch(69.19, 50.56, 112.97°) |
| OKLab | oklab(72.76% -0.0567 0.1092) |
| OKLCH | oklch(72.76% 0.123 117.4) |
| XYZ | xyz(31.9057, 39.6157, 13.7488) |
| Luminance | 0.3962 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Booger
#9BB53C
ΔE00 3.36
Light Olive Green
#A4BE5C
ΔE00 3.84
Light Olive
#ACBF69
ΔE00 4.36
Avocado (survey)
#90B134
ΔE00 4.44
Tan Green
#A9BE70
ΔE00 5.13
Sick Green
#9DB92C
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B151 #6151B1
analogous
#B19151 #A1B151 #71B151
triadic
#A1B151 #51A1B1 #B151A1
tetradic
#A1B151 #51B191 #6151B1 #B15171
square
#A1B151 #51B191 #6151B1 #B15171
split-complementary
#A1B151 #5171B1 #9151B1
monochromatic
#555E2A #7B883D #A1B151 #B8C47B #CFD7A6
Accessibility & contrast
On white
2.35
#A1B151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#A1B151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B151
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B151 | 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)
#BCA948
Deuteranopia (green-blind)
#BAAA57
Tritanopia (blue-blind)
#A9A89C
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b151; /* rgb */ color: rgb(161, 177, 81); /* oklch */ color: oklch(72.8% 0.123 117.4);
Tailwind
colors: {
custom: {
50: '#bfc885',
500: '#a1b151',
950: '#000000',
},
}SCSS
$custom: #a1b151; $custom-light: #bfc885; $custom-dark: #000000;
JSON
{
"hex": "#a1b151",
"rgb": {
"r": 161,
"g": 177,
"b": 81
},
"hsl": {
"h": 70,
"s": 38.095,
"l": 50.588
},
"oklch": {
"l": 0.72761,
"c": 0.12298,
"h": 117.4
},
"luminance": 0.39615
}Semantic roles & 50–950 ramp
primary
#A1B151
secondary
#A19AC4
accent
#5ACE6D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C