#ABD42D#ABD42D

#ABD42D is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.2% C 0.187 H 123.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#ABD42D
RGBrgb(171, 212, 45)
HSLhsl(75, 66%, 50%)
HSVhsv(75, 79%, 83%)
CMYKcmyk(19.3%, 0%, 78.8%, 16.9%)
CIE-LABlab(79.58, -34.75, 71.28)
CIE-LCHlch(79.58, 79.30, 115.99°)
OKLaboklab(81.21% -0.1021 0.1561)
OKLCHoklch(81.21% 0.187 123.2)
XYZxyz(40.8123, 55.9341, 11.1284)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD42D #562DD4
analogous
#D4AA2D #ABD42D #57D42D
triadic
#ABD42D #2DABD4 #D42DAB
tetradic
#ABD42D #2DD4AA #562DD4 #D42D57
square
#ABD42D #2DD4AA #562DD4 #D42D57
split-complementary
#ABD42D #2D57D4 #AA2DD4
monochromatic
#5A7017 #83A321 #ABD42D #BFDE60 #D4E993

Accessibility & contrast

On white

1.72
#ABD42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#ABD42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD42D
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD42D#FFFFFF#000000##000000
##ABD42D1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C600
Deuteranopia (green-blind)
#DBC53E
Tritanopia (blue-blind)
#B4C9B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #abd42d;
/* rgb */ color: rgb(171, 212, 45);
/* oklch */ color: oklch(81.2% 0.187 123.2);
Tailwind
colors: {
  custom: {
    50: '#c8e175',
    500: '#abd42d',
    950: '#000000',
  },
}
SCSS
$custom: #abd42d;
$custom-light: #c8e175;
$custom-dark: #000000;
JSON
{
  "hex": "#abd42d",
  "rgb": {
    "r": 171,
    "g": 212,
    "b": 45
  },
  "hsl": {
    "h": 74.731,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81214,
    "c": 0.18653,
    "h": 123.2
  },
  "luminance": 0.55934
}

Semantic roles & 50–950 ramp

primary
#ABD42D
secondary
#3F2C79
accent
#3FE969
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #ABD42D

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

Preview Lab → · Contrast checker → · Palette generator →

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