#A2D128#A2D128

#A2D128 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 79.9% C 0.189 H 124.9°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#A2D128
RGBrgb(162, 209, 40)
HSLhsl(77, 68%, 49%)
HSVhsv(77, 81%, 82%)
CMYKcmyk(22.5%, 0%, 80.9%, 18%)
CIE-LABlab(78.13, -37.12, 71.12)
CIE-LCHlch(78.13, 80.23, 117.56°)
OKLaboklab(79.89% -0.1084 0.1552)
OKLCHoklch(79.89% 0.189 124.9)
XYZxyz(38.0841, 53.4350, 10.3146)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D128 #5728D1
analogous
#D1AC28 #A2D128 #4ED128
triadic
#A2D128 #28A2D1 #D128A2
tetradic
#A2D128 #28D1AC #5728D1 #D1284E
square
#A2D128 #28D1AC #5728D1 #D1284E
split-complementary
#A2D128 #284ED1 #AC28D1
monochromatic
#526A14 #7A9E1E #A2D128 #B9DF57 #CFE98B

Accessibility & contrast

On white

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

On black

11.69
#A2D128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D128
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D128#FFFFFF#000000##000000
##A2D1281.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2d128;
/* rgb */ color: rgb(162, 209, 40);
/* oklch */ color: oklch(79.9% 0.189 124.9);
Tailwind
colors: {
  custom: {
    50: '#c2df72',
    500: '#a2d128',
    950: '#000000',
  },
}
SCSS
$custom: #a2d128;
$custom-light: #c2df72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d128",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 40
  },
  "hsl": {
    "h": 76.686,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79891,
    "c": 0.18935,
    "h": 124.9
  },
  "luminance": 0.53436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2D128

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

Preview Lab → · Contrast checker → · Palette generator →

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