#ABD940#ABD940

#ABD940 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.5% C 0.182 H 124.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#ABD940
RGBrgb(171, 217, 64)
HSLhsl(78, 67%, 55%)
HSVhsv(78, 71%, 85%)
CMYKcmyk(21.2%, 0%, 70.5%, 14.9%)
CIE-LABlab(81.10, -36.09, 66.64)
CIE-LCHlch(81.10, 75.79, 118.44°)
OKLaboklab(82.48% -0.1043 0.1493)
OKLCHoklch(82.48% 0.182 124.9)
XYZxyz(42.5332, 58.6533, 13.9299)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD940 #6E40D9
analogous
#D9BA40 #ABD940 #5FD940
triadic
#ABD940 #40ABD9 #D940AB
tetradic
#ABD940 #40D9BA #6E40D9 #D9405F
square
#ABD940 #40D9BA #6E40D9 #D9405F
split-complementary
#ABD940 #405FD9 #BA40D9
monochromatic
#64841A #8BB724 #ABD940 #C1E373 #D8EDA6

Accessibility & contrast

On white

1.65
#ABD940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#ABD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD940
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD940#FFFFFF#000000##000000
##ABD9401.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#DFC94D
Tritanopia (blue-blind)
#B3CFBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #abd940;
/* rgb */ color: rgb(171, 217, 64);
/* oklch */ color: oklch(82.5% 0.182 124.9);
Tailwind
colors: {
  custom: {
    50: '#c8e57e',
    500: '#abd940',
    950: '#000000',
  },
}
SCSS
$custom: #abd940;
$custom-light: #c8e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#abd940",
  "rgb": {
    "r": 171,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 78.039,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82479,
    "c": 0.18216,
    "h": 124.9
  },
  "luminance": 0.58654
}

Semantic roles & 50–950 ramp

primary
#ABD940
secondary
#4D328B
accent
#3EEA72
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #ABD940

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

Preview Lab → · Contrast checker → · Palette generator →

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