#A1B031#A1B031
#A1B031 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.147 H 116.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B031 |
|---|---|
| RGB | rgb(161, 176, 49) |
| HSL | hsl(67, 56%, 44%) |
| HSV | hsv(67, 72%, 69%) |
| CMYK | cmyk(8.5%, 0%, 72.2%, 31%) |
| CIE-LAB | lab(68.64, -21.49, 59.52) |
| CIE-LCH | lch(68.64, 63.28, 109.85°) |
| OKLab | oklab(72.23% -0.0648 0.1322) |
| OKLCH | oklch(72.23% 0.147 116.1) |
| XYZ | xyz(30.7784, 38.8499, 8.7825) |
| Luminance | 0.3885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.50
Booger
#9BB53C
ΔE00 2.94
Barf Green
#94AC02
ΔE00 3.10
Sickly Green
#94B21C
ΔE00 3.15
Sick Green
#9DB92C
ΔE00 3.27
Pea Soup Green
#94A617
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B031 #4031B0
analogous
#B08031 #A1B031 #62B031
triadic
#A1B031 #31A1B0 #B031A1
tetradic
#A1B031 #31B080 #4031B0 #B03162
square
#A1B031 #31B080 #4031B0 #B03162
split-complementary
#A1B031 #3162B0 #8031B0
monochromatic
#495016 #758024 #A1B031 #BFCE50 #D1DC80
Accessibility & contrast
On white
2.39
#A1B031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#A1B031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B031
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B031 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA71A
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#ABA697
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a1b031; /* rgb */ color: rgb(161, 176, 49); /* oklch */ color: oklch(72.2% 0.147 116.1);
Tailwind
colors: {
custom: {
50: '#c0c772',
500: '#a1b031',
950: '#000000',
},
}SCSS
$custom: #a1b031; $custom-light: #c0c772; $custom-dark: #000000;
JSON
{
"hex": "#a1b031",
"rgb": {
"r": 161,
"g": 176,
"b": 49
},
"hsl": {
"h": 67.087,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.72231,
"c": 0.14724,
"h": 116.1
},
"luminance": 0.38849
}Semantic roles & 50–950 ramp
primary
#A1B031
secondary
#8178C5
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B