#ABD240#ABD240

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

Color values

HEX#ABD240
RGBrgb(171, 210, 64)
HSLhsl(76, 62%, 54%)
HSVhsv(76, 70%, 82%)
CMYKcmyk(18.6%, 0%, 69.5%, 17.6%)
CIE-LABlab(79.11, -32.89, 64.65)
CIE-LCHlch(79.11, 72.53, 116.96°)
OKLaboklab(80.87% -0.0955 0.1451)
OKLCHoklch(80.87% 0.174 123.4)
XYZxyz(40.7670, 55.1210, 13.3412)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD240 #6740D2
analogous
#D2B040 #ABD240 #62D240
triadic
#ABD240 #40ABD2 #D240AB
tetradic
#ABD240 #40D2B0 #6740D2 #D24062
square
#ABD240 #40D2B0 #6740D2 #D24062
split-complementary
#ABD240 #4062D2 #B040D2
monochromatic
#627B1D #89AC29 #ABD240 #C1DE72 #D7E9A3

Accessibility & contrast

On white

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

On black

12.02
#ABD240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD240
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD240#FFFFFF#000000##000000
##ABD2401.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abd240;
/* rgb */ color: rgb(171, 210, 64);
/* oklch */ color: oklch(80.9% 0.174 123.4);
Tailwind
colors: {
  custom: {
    50: '#c7e07d',
    500: '#abd240',
    950: '#000000',
  },
}
SCSS
$custom: #abd240;
$custom-light: #c7e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#abd240",
  "rgb": {
    "r": 171,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 76.027,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8087,
    "c": 0.17376,
    "h": 123.4
  },
  "luminance": 0.55121
}

Semantic roles & 50–950 ramp

primary
#ABD240
secondary
#493483
accent
#43E56E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABD240

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

Preview Lab → · Contrast checker → · Palette generator →

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