#ABD540#ABD540

#ABD540 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.6% C 0.177 H 124.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#ABD540
RGBrgb(171, 213, 64)
HSLhsl(77, 64%, 54%)
HSVhsv(77, 70%, 84%)
CMYKcmyk(19.7%, 0%, 70%, 16.5%)
CIE-LABlab(79.96, -34.27, 65.50)
CIE-LCHlch(79.96, 73.93, 117.62°)
OKLaboklab(81.56% -0.0993 0.1469)
OKLCHoklch(81.56% 0.177 124.1)
XYZxyz(41.5146, 56.6163, 13.5904)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD540 #6A40D5
analogous
#D5B540 #ABD540 #61D540
triadic
#ABD540 #40ABD5 #D540AB
tetradic
#ABD540 #40D5B5 #6A40D5 #D54061
square
#ABD540 #40D5B5 #6A40D5 #D54061
split-complementary
#ABD540 #4061D5 #B540D5
monochromatic
#637F1C #8AB127 #ABD540 #C1E072 #D7EBA4

Accessibility & contrast

On white

1.70
#ABD540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#ABD540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD540
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD540#FFFFFF#000000##000000
##ABD5401.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C827
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#B3CBB8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #abd540;
/* rgb */ color: rgb(171, 213, 64);
/* oklch */ color: oklch(81.6% 0.177 124.1);
Tailwind
colors: {
  custom: {
    50: '#c8e27e',
    500: '#abd540',
    950: '#000000',
  },
}
SCSS
$custom: #abd540;
$custom-light: #c8e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#abd540",
  "rgb": {
    "r": 171,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 76.913,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81559,
    "c": 0.17736,
    "h": 124.1
  },
  "luminance": 0.56617
}

Semantic roles & 50–950 ramp

primary
#ABD540
secondary
#4B3386
accent
#41E770
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABD540

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

Preview Lab → · Contrast checker → · Palette generator →

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