#A1B418#A1B418
#A1B418 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.0% C 0.163 H 117.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A1B418 |
|---|---|
| RGB | rgb(161, 180, 24) |
| HSL | hsl(67, 76%, 40%) |
| HSV | hsv(67, 87%, 71%) |
| CMYK | cmyk(10.6%, 0%, 86.7%, 29.4%) |
| CIE-LAB | lab(69.67, -24.42, 67.60) |
| CIE-LCH | lch(69.67, 71.88, 109.86°) |
| OKLab | oklab(73.02% -0.0747 0.1452) |
| OKLCH | oklch(73.02% 0.163 117.2) |
| XYZ | xyz(31.1849, 40.2859, 6.9971) |
| Luminance | 0.4029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.80
Mustard Green
#A8B504
ΔE00 1.89
Booger Green
#96B403
ΔE00 2.23
Snot
#ACBB0D
ΔE00 2.61
Sick Green
#9DB92C
ΔE00 2.67
Bright Olive
#9CBB04
ΔE00 2.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1B418 #2B18B4
analogous
#B47918 #A1B418 #53B418
triadic
#A1B418 #18A1B4 #B418A1
tetradic
#A1B418 #18B479 #2B18B4 #B41853
square
#A1B418 #18B479 #2B18B4 #B41853
split-complementary
#A1B418 #1853B4 #7918B4
monochromatic
#40480A #717E11 #A1B418 #CBE227 #D8E95D
Accessibility & contrast
On white
2.32
#A1B418 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A1B418 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1B418
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1B418 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1B418 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB2B
Tritanopia (blue-blind)
#ACA999
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a1b418; /* rgb */ color: rgb(161, 180, 24); /* oklch */ color: oklch(73.0% 0.163 117.2);
Tailwind
colors: {
custom: {
50: '#c1ca68',
500: '#a1b418',
950: '#000000',
},
}SCSS
$custom: #a1b418; $custom-light: #c1ca68; $custom-dark: #000000;
JSON
{
"hex": "#a1b418",
"rgb": {
"r": 161,
"g": 180,
"b": 24
},
"hsl": {
"h": 67.308,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.73024,
"c": 0.16331,
"h": 117.2
},
"luminance": 0.40286
}Semantic roles & 50–950 ramp
primary
#A1B418
secondary
#695BCD
accent
#35F34C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A