#A1D040#A1D040

#A1D040 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.7% C 0.176 H 125.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#A1D040
RGBrgb(161, 208, 64)
HSLhsl(80, 61%, 53%)
HSVhsv(80, 69%, 82%)
CMYKcmyk(22.6%, 0%, 69.2%, 18.4%)
CIE-LABlab(77.91, -35.86, 63.23)
CIE-LCHlch(77.91, 72.69, 119.56°)
OKLaboklab(79.74% -0.1031 0.1424)
OKLCHoklch(79.74% 0.176 125.9)
XYZxyz(38.1794, 53.0584, 13.0793)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D040 #6F40D0
analogous
#D0B740 #A1D040 #59D040
triadic
#A1D040 #40A1D0 #D040A1
tetradic
#A1D040 #40D0B7 #6F40D0 #D04059
square
#A1D040 #40D0B7 #6F40D0 #D04059
split-complementary
#A1D040 #4059D0 #B740D0
monochromatic
#5B781E #80A92A #A1D040 #B9DC71 #D1E8A2

Accessibility & contrast

On white

1.81
#A1D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#A1D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D040
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D040#FFFFFF#000000##000000
##A1D0401.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC229
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#A8C6B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a1d040;
/* rgb */ color: rgb(161, 208, 64);
/* oklch */ color: oklch(79.7% 0.176 125.9);
Tailwind
colors: {
  custom: {
    50: '#c0de7d',
    500: '#a1d040',
    950: '#000000',
  },
}
SCSS
$custom: #a1d040;
$custom-light: #c0de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d040",
  "rgb": {
    "r": 161,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 79.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79736,
    "c": 0.1758,
    "h": 125.9
  },
  "luminance": 0.53059
}

Semantic roles & 50–950 ramp

primary
#A1D040
secondary
#4D3480
accent
#44E478
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1D040

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A1D040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva