#ABD42A#ABD42A

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

Color values

HEX#ABD42A
RGBrgb(171, 212, 42)
HSLhsl(74, 67%, 50%)
HSVhsv(74, 80%, 83%)
CMYKcmyk(19.3%, 0%, 80.2%, 16.9%)
CIE-LABlab(79.56, -34.87, 72.09)
CIE-LCHlch(79.56, 80.08, 115.81°)
OKLaboklab(81.2% -0.1026 0.1573)
OKLCHoklch(81.2% 0.188 123.1)
XYZxyz(40.7566, 55.9118, 10.8349)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD42A #532AD4
analogous
#D4A82A #ABD42A #56D42A
triadic
#ABD42A #2AABD4 #D42AAB
tetradic
#ABD42A #2AD4A8 #532AD4 #D42A56
square
#ABD42A #2AD4A8 #532AD4 #D42A56
split-complementary
#ABD42A #2A56D4 #A82AD4
monochromatic
#596E16 #82A120 #ABD42A #BFDF5C #D3E98F

Accessibility & contrast

On white

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

On black

12.18
#ABD42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD42A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD42A#FFFFFF#000000##000000
##ABD42A1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abd42a;
/* rgb */ color: rgb(171, 212, 42);
/* oklch */ color: oklch(81.2% 0.188 123.1);
Tailwind
colors: {
  custom: {
    50: '#c8e173',
    500: '#abd42a',
    950: '#000000',
  },
}
SCSS
$custom: #abd42a;
$custom-light: #c8e173;
$custom-dark: #000000;
JSON
{
  "hex": "#abd42a",
  "rgb": {
    "r": 171,
    "g": 212,
    "b": 42
  },
  "hsl": {
    "h": 74.471,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81199,
    "c": 0.18785,
    "h": 123.1
  },
  "luminance": 0.55912
}

Semantic roles & 50–950 ramp

primary
#ABD42A
secondary
#3D2B77
accent
#3EEA67
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #ABD42A

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

Preview Lab → · Contrast checker → · Palette generator →

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