#A1B42E#A1B42E
#A1B42E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.154 H 117.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B42E |
|---|---|
| RGB | rgb(161, 180, 46) |
| HSL | hsl(69, 59%, 44%) |
| HSV | hsv(69, 74%, 71%) |
| CMYK | cmyk(10.6%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(69.77, -23.62, 61.65) |
| CIE-LCH | lch(69.77, 66.02, 110.96°) |
| OKLab | oklab(73.13% -0.0709 0.1362) |
| OKLCH | oklch(73.13% 0.154 117.5) |
| XYZ | xyz(31.5131, 40.4172, 8.7254) |
| Luminance | 0.4042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.04
Booger
#9BB53C
ΔE00 2.40
Sickly Green
#94B21C
ΔE00 2.51
Puke Green
#9AAE07
ΔE00 2.53
Booger Green
#96B403
ΔE00 2.70
Barf Green
#94AC02
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B42E #412EB4
analogous
#B4842E #A1B42E #5EB42E
triadic
#A1B42E #2EA1B4 #B42EA1
tetradic
#A1B42E #2EB484 #412EB4 #B42E5E
square
#A1B42E #2EB484 #412EB4 #B42E5E
split-complementary
#A1B42E #2E5EB4 #842EB4
monochromatic
#4A5315 #758322 #A1B42E #BFD24E #D1DE7E
Accessibility & contrast
On white
2.31
#A1B42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A1B42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B42E
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B42E | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#ABAA9B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a1b42e; /* rgb */ color: rgb(161, 180, 46); /* oklch */ color: oklch(73.1% 0.154 117.5);
Tailwind
colors: {
custom: {
50: '#c0ca71',
500: '#a1b42e',
950: '#000000',
},
}SCSS
$custom: #a1b42e; $custom-light: #c0ca71; $custom-dark: #000000;
JSON
{
"hex": "#a1b42e",
"rgb": {
"r": 161,
"g": 180,
"b": 46
},
"hsl": {
"h": 68.507,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.73128,
"c": 0.15356,
"h": 117.5
},
"luminance": 0.40417
}Semantic roles & 50–950 ramp
primary
#A1B42E
secondary
#8277C7
accent
#45E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B