#ABD242#ABD242

#ABD242 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.9% C 0.172 H 123.4°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#ABD242
RGBrgb(171, 210, 66)
HSLhsl(76, 62%, 54%)
HSVhsv(76, 69%, 82%)
CMYKcmyk(18.6%, 0%, 68.6%, 17.6%)
CIE-LABlab(79.12, -32.77, 63.92)
CIE-LCHlch(79.12, 71.83, 117.14°)
OKLaboklab(80.88% -0.095 0.1439)
OKLCHoklch(80.88% 0.172 123.4)
XYZxyz(40.8250, 55.1442, 13.6463)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD242 #6942D2
analogous
#D2B142 #ABD242 #63D242
triadic
#ABD242 #42ABD2 #D242AB
tetradic
#ABD242 #42D2B1 #6942D2 #D24263
square
#ABD242 #42D2B1 #6942D2 #D24263
split-complementary
#ABD242 #4263D2 #B142D2
monochromatic
#627C1E #8AAD29 #ABD242 #C1DE73 #D7EAA5

Accessibility & contrast

On white

1.75
#ABD242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#ABD242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD242
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD242#FFFFFF#000000##000000
##ABD2421.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#B3C8B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #abd242;
/* rgb */ color: rgb(171, 210, 66);
/* oklch */ color: oklch(80.9% 0.172 123.4);
Tailwind
colors: {
  custom: {
    50: '#c7e07e',
    500: '#abd242',
    950: '#000000',
  },
}
SCSS
$custom: #abd242;
$custom-light: #c7e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#abd242",
  "rgb": {
    "r": 171,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 76.25,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80885,
    "c": 0.17245,
    "h": 123.4
  },
  "luminance": 0.55144
}

Semantic roles & 50–950 ramp

primary
#ABD242
secondary
#4A3484
accent
#43E56F
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #ABD242

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

Preview Lab → · Contrast checker → · Palette generator →

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