#ABCC2D#ABCC2D

#ABCC2D is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.4% C 0.177 H 121.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#ABCC2D
RGBrgb(171, 204, 45)
HSLhsl(72, 64%, 49%)
HSVhsv(72, 78%, 80%)
CMYKcmyk(16.2%, 0%, 77.9%, 20%)
CIE-LABlab(77.30, -31.05, 69.21)
CIE-LCHlch(77.30, 75.86, 114.16°)
OKLaboklab(79.38% -0.092 0.1517)
OKLCHoklch(79.38% 0.177 121.2)
XYZxyz(38.8618, 52.0331, 10.4782)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCC2D #4E2DCC
analogous
#CC9E2D #ABCC2D #5CCC2D
triadic
#ABCC2D #2DABCC #CC2DAB
tetradic
#ABCC2D #2DCC9E #4E2DCC #CC2D5C
square
#ABCC2D #2DCC9E #4E2DCC #CC2D5C
split-complementary
#ABCC2D #2D5CCC #9E2DCC
monochromatic
#576817 #819A22 #ABCC2D #C0DB5B #D4E68D

Accessibility & contrast

On white

1.84
#ABCC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#ABCC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCC2D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCC2D#FFFFFF#000000##000000
##ABCC2D1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D5BF3D
Tritanopia (blue-blind)
#B5C1AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #abcc2d;
/* rgb */ color: rgb(171, 204, 45);
/* oklch */ color: oklch(79.4% 0.177 121.2);
Tailwind
colors: {
  custom: {
    50: '#c8db74',
    500: '#abcc2d',
    950: '#000000',
  },
}
SCSS
$custom: #abcc2d;
$custom-light: #c8db74;
$custom-dark: #000000;
JSON
{
  "hex": "#abcc2d",
  "rgb": {
    "r": 171,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 72.453,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79375,
    "c": 0.17743,
    "h": 121.2
  },
  "luminance": 0.52033
}

Semantic roles & 50–950 ramp

primary
#ABCC2D
secondary
#3A2B72
accent
#41E763
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #ABCC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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