#A1B316#A1B316
#A1B316 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.163 H 116.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B316 |
|---|---|
| RGB | rgb(161, 179, 22) |
| HSL | hsl(67, 78%, 39%) |
| HSV | hsv(67, 88%, 70%) |
| CMYK | cmyk(10.1%, 0%, 87.7%, 29.8%) |
| CIE-LAB | lab(69.38, -23.98, 67.76) |
| CIE-LCH | lch(69.38, 71.88, 109.49°) |
| OKLab | oklab(72.79% -0.0736 0.1453) |
| OKLCH | oklch(72.79% 0.163 116.9) |
| XYZ | xyz(30.9637, 39.8756, 6.8245) |
| Luminance | 0.3987 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.61
Mustard Green
#A8B504
ΔE00 1.77
Booger Green
#96B403
ΔE00 2.39
Barf Green
#94AC02
ΔE00 2.66
Snot
#ACBB0D
ΔE00 2.70
Sickly Green
#94B21C
ΔE00 2.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B316 #2816B3
analogous
#B37716 #A1B316 #53B316
triadic
#A1B316 #16A1B3 #B316A1
tetradic
#A1B316 #16B377 #2816B3 #B31653
square
#A1B316 #16B377 #2816B3 #B31653
split-complementary
#A1B316 #1653B3 #7716B3
monochromatic
#3F4609 #707C0F #A1B316 #CEE422 #DAEB59
Accessibility & contrast
On white
2.34
#A1B316 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#A1B316 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B316
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B316 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA2A
Tritanopia (blue-blind)
#ACA898
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a1b316; /* rgb */ color: rgb(161, 179, 22); /* oklch */ color: oklch(72.8% 0.163 116.9);
Tailwind
colors: {
custom: {
50: '#c1c968',
500: '#a1b316',
950: '#000000',
},
}SCSS
$custom: #a1b316; $custom-light: #c1c968; $custom-dark: #000000;
JSON
{
"hex": "#a1b316",
"rgb": {
"r": 161,
"g": 179,
"b": 22
},
"hsl": {
"h": 66.879,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.72787,
"c": 0.16286,
"h": 116.9
},
"luminance": 0.39875
}Semantic roles & 50–950 ramp
primary
#A1B316
secondary
#6557CE
accent
#33F549
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A