#ABCD51#ABCD51

#ABCD51 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.9% C 0.155 H 122.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#ABCD51
RGBrgb(171, 205, 81)
HSLhsl(76, 55%, 56%)
HSVhsv(76, 60%, 80%)
CMYKcmyk(16.6%, 0%, 60.5%, 19.6%)
CIE-LABlab(77.82, -29.37, 56.48)
CIE-LCHlch(77.82, 63.67, 117.48°)
OKLaboklab(79.87% -0.0843 0.1302)
OKLCHoklch(79.87% 0.155 122.9)
XYZxyz(40.1114, 52.9145, 15.8833)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCD51 #7351CD
analogous
#CDB151 #ABCD51 #6DCD51
triadic
#ABCD51 #51ABCD #CD51AB
tetradic
#ABCD51 #51CDB1 #7351CD #CD516D
square
#ABCD51 #51CDB1 #7351CD #CD516D
split-complementary
#ABCD51 #516DCD #B151CD
monochromatic
#667F25 #8CAF32 #ABCD51 #C2DB81 #D9E8B0

Accessibility & contrast

On white

1.81
#ABCD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#ABCD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCD51
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCD51#FFFFFF#000000##000000
##ABCD511.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#B3C3B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #abcd51;
/* rgb */ color: rgb(171, 205, 81);
/* oklch */ color: oklch(79.9% 0.155 122.9);
Tailwind
colors: {
  custom: {
    50: '#c7dc87',
    500: '#abcd51',
    950: '#000000',
  },
}
SCSS
$custom: #abcd51;
$custom-light: #c7dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#abcd51",
  "rgb": {
    "r": 171,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 76.452,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79874,
    "c": 0.15512,
    "h": 122.9
  },
  "luminance": 0.52915
}

Semantic roles & 50–950 ramp

primary
#ABCD51
secondary
#503B87
accent
#49DF72
background
#FEFEFC
surface
#FAFCF3
border
#D3D5CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #ABCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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