#A1B142#A1B142
#A1B142 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.136 H 116.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B142 |
|---|---|
| RGB | rgb(161, 177, 66) |
| HSL | hsl(69, 46%, 48%) |
| HSV | hsv(69, 63%, 69%) |
| CMYK | cmyk(9%, 0%, 62.7%, 30.6%) |
| CIE-LAB | lab(69.05, -20.94, 53.19) |
| CIE-LCH | lch(69.05, 57.16, 111.48°) |
| OKLab | oklab(72.6% -0.0616 0.1215) |
| OKLCH | oklch(72.6% 0.136 116.9) |
| XYZ | xyz(31.4041, 39.4151, 11.1067) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.25
Avocado (survey)
#90B134
ΔE00 3.66
Sick Green
#9DB92C
ΔE00 3.66
Sickly Green
#94B21C
ΔE00 3.93
Icky Green
#8FAE22
ΔE00 3.99
Puke Green
#9AAE07
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B142 #5242B1
analogous
#B18A42 #A1B142 #69B142
triadic
#A1B142 #42A1B1 #B142A1
tetradic
#A1B142 #42B18A #5242B1 #B14269
square
#A1B142 #42B18A #5242B1 #B14269
split-complementary
#A1B142 #4269B1 #8A42B1
monochromatic
#505821 #788431 #A1B142 #BAC769 #CED896
Accessibility & contrast
On white
2.36
#A1B142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#A1B142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B142
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B142 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA834
Deuteranopia (green-blind)
#BBA949
Tritanopia (blue-blind)
#AAA89A
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a1b142; /* rgb */ color: rgb(161, 177, 66); /* oklch */ color: oklch(72.6% 0.136 116.9);
Tailwind
colors: {
custom: {
50: '#bfc87b',
500: '#a1b142',
950: '#000000',
},
}SCSS
$custom: #a1b142; $custom-light: #bfc87b; $custom-dark: #000000;
JSON
{
"hex": "#a1b142",
"rgb": {
"r": 161,
"g": 177,
"b": 66
},
"hsl": {
"h": 68.649,
"s": 45.679,
"l": 47.647
},
"oklch": {
"l": 0.72599,
"c": 0.13624,
"h": 116.9
},
"luminance": 0.39415
}Semantic roles & 50–950 ramp
primary
#A1B142
secondary
#938BC3
accent
#52D565
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C