#A1D128#A1D128

#A1D128 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 79.8% C 0.190 H 125.2°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#A1D128
RGBrgb(161, 209, 40)
HSLhsl(77, 68%, 49%)
HSVhsv(77, 81%, 82%)
CMYKcmyk(23%, 0%, 80.9%, 18%)
CIE-LABlab(78.07, -37.51, 71.05)
CIE-LCHlch(78.07, 80.34, 117.83°)
OKLaboklab(79.83% -0.1094 0.1551)
OKLCHoklch(79.83% 0.19 125.2)
XYZxyz(37.8818, 53.3307, 10.3052)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D128 #5828D1
analogous
#D1AD28 #A1D128 #4DD128
triadic
#A1D128 #28A1D1 #D128A1
tetradic
#A1D128 #28D1AD #5828D1 #D1284D
square
#A1D128 #28D1AD #5828D1 #D1284D
split-complementary
#A1D128 #284DD1 #AD28D1
monochromatic
#526A14 #799E1E #A1D128 #B8DF57 #CEE98B

Accessibility & contrast

On white

1.80
#A1D128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#A1D128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D128
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D128#FFFFFF#000000##000000
##A1D1281.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#D6C03B
Tritanopia (blue-blind)
#A9C7B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a1d128;
/* rgb */ color: rgb(161, 209, 40);
/* oklch */ color: oklch(79.8% 0.190 125.2);
Tailwind
colors: {
  custom: {
    50: '#c1df72',
    500: '#a1d128',
    950: '#000000',
  },
}
SCSS
$custom: #a1d128;
$custom-light: #c1df72;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d128",
  "rgb": {
    "r": 161,
    "g": 209,
    "b": 40
  },
  "hsl": {
    "h": 77.041,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79826,
    "c": 0.18981,
    "h": 125.2
  },
  "luminance": 0.53331
}

Semantic roles & 50–950 ramp

primary
#A1D128
secondary
#3E2974
accent
#3DEB6E
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #A1D128

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

Preview Lab → · Contrast checker → · Palette generator →

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