#A1B415#A1B415
#A1B415 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.0% C 0.164 H 117.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B415 |
|---|---|
| RGB | rgb(161, 180, 21) |
| HSL | hsl(67, 79%, 39%) |
| HSV | hsv(67, 88%, 71%) |
| CMYK | cmyk(10.6%, 0%, 88.3%, 29.4%) |
| CIE-LAB | lab(69.66, -24.49, 68.19) |
| CIE-LCH | lch(69.66, 72.45, 109.76°) |
| OKLab | oklab(73.01% -0.075 0.1461) |
| OKLCH | oklch(73.01% 0.164 117.2) |
| XYZ | xyz(31.1554, 40.2741, 6.8418) |
| Luminance | 0.4027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.79
Mustard Green
#A8B504
ΔE00 1.79
Booger Green
#96B403
ΔE00 2.24
Snot
#ACBB0D
ΔE00 2.54
Bright Olive
#9CBB04
ΔE00 2.67
Sick Green
#9DB92C
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B415 #2815B4
analogous
#B47815 #A1B415 #52B415
triadic
#A1B415 #15A1B4 #B415A1
tetradic
#A1B415 #15B478 #2815B4 #B41552
square
#A1B415 #15B478 #2815B4 #B41552
split-complementary
#A1B415 #1552B4 #7815B4
monochromatic
#3F4608 #707D0F #A1B415 #CEE521 #DAEC58
Accessibility & contrast
On white
2.32
#A1B415 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#A1B415 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B415
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B415 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B415 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB29
Tritanopia (blue-blind)
#ACA999
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a1b415; /* rgb */ color: rgb(161, 180, 21); /* oklch */ color: oklch(73.0% 0.164 117.2);
Tailwind
colors: {
custom: {
50: '#c1ca67',
500: '#a1b415',
950: '#000000',
},
}SCSS
$custom: #a1b415; $custom-light: #c1ca67; $custom-dark: #000000;
JSON
{
"hex": "#a1b415",
"rgb": {
"r": 161,
"g": 180,
"b": 21
},
"hsl": {
"h": 67.17,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.73014,
"c": 0.16421,
"h": 117.2
},
"luminance": 0.40274
}Semantic roles & 50–950 ramp
primary
#A1B415
secondary
#6556CF
accent
#32F64A
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A