#A1B42A#A1B42A
#A1B42A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.156 H 117.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B42A |
|---|---|
| RGB | rgb(161, 180, 42) |
| HSL | hsl(68, 62%, 44%) |
| HSV | hsv(68, 77%, 71%) |
| CMYK | cmyk(10.6%, 0%, 76.7%, 29.4%) |
| CIE-LAB | lab(69.74, -23.80, 62.93) |
| CIE-LCH | lch(69.74, 67.28, 110.72°) |
| OKLab | oklab(73.1% -0.0718 0.1382) |
| OKLCH | oklch(73.1% 0.156 117.4) |
| XYZ | xyz(31.4379, 40.3871, 8.3294) |
| Luminance | 0.4039 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.09
Puke Green
#9AAE07
ΔE00 2.30
Sickly Green
#94B21C
ΔE00 2.48
Booger Green
#96B403
ΔE00 2.51
Booger
#9BB53C
ΔE00 2.69
Mustard Green
#A8B504
ΔE00 2.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B42A #3D2AB4
analogous
#B4822A #A1B42A #5CB42A
triadic
#A1B42A #2AA1B4 #B42AA1
tetradic
#A1B42A #2AB482 #3D2AB4 #B42A5C
square
#A1B42A #2AB482 #3D2AB4 #B42A5C
split-complementary
#A1B42A #2A5CB4 #822AB4
monochromatic
#485113 #75821E #A1B42A #C1D447 #D1E079
Accessibility & contrast
On white
2.31
#A1B42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A1B42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B42A
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B42A | 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)
#C0AA03
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#ABAA9A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a1b42a; /* rgb */ color: rgb(161, 180, 42); /* oklch */ color: oklch(73.1% 0.156 117.4);
Tailwind
colors: {
custom: {
50: '#c0ca6f',
500: '#a1b42a',
950: '#000000',
},
}SCSS
$custom: #a1b42a; $custom-light: #c0ca6f; $custom-dark: #000000;
JSON
{
"hex": "#a1b42a",
"rgb": {
"r": 161,
"g": 180,
"b": 42
},
"hsl": {
"h": 68.261,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.73104,
"c": 0.15575,
"h": 117.4
},
"luminance": 0.40387
}Semantic roles & 50–950 ramp
primary
#A1B42A
secondary
#7E72C8
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B