#ABCC40#ABCC40

#ABCC40 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.5% C 0.167 H 121.8°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#ABCC40
RGBrgb(171, 204, 64)
HSLhsl(74, 58%, 53%)
HSVhsv(74, 69%, 80%)
CMYKcmyk(16.2%, 0%, 68.6%, 20%)
CIE-LABlab(77.41, -30.08, 62.93)
CIE-LCHlch(77.41, 69.75, 115.55°)
OKLaboklab(79.5% -0.0878 0.1415)
OKLCHoklch(79.5% 0.167 121.8)
XYZxyz(39.3134, 52.2138, 12.8567)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCC40 #6140CC
analogous
#CCA740 #ABCC40 #65CC40
triadic
#ABCC40 #40ABCC #CC40AB
tetradic
#ABCC40 #40CCA7 #6140CC #CC4065
square
#ABCC40 #40CCA7 #6140CC #CC4065
split-complementary
#ABCC40 #4065CC #A740CC
monochromatic
#5F731F #87A32C #ABCC40 #C0D970 #D5E6A1

Accessibility & contrast

On white

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

On black

11.44
#ABCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCC40
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCC40#FFFFFF#000000##000000
##ABCC401.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#B4C2B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #abcc40;
/* rgb */ color: rgb(171, 204, 64);
/* oklch */ color: oklch(79.5% 0.167 121.8);
Tailwind
colors: {
  custom: {
    50: '#c7db7d',
    500: '#abcc40',
    950: '#000000',
  },
}
SCSS
$custom: #abcc40;
$custom-light: #c7db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#abcc40",
  "rgb": {
    "r": 171,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 74.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79496,
    "c": 0.16655,
    "h": 121.8
  },
  "luminance": 0.52214
}

Semantic roles & 50–950 ramp

primary
#ABCC40
secondary
#45347C
accent
#47E16B
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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