#ABCC42#ABCC42

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

Color values

HEX#ABCC42
RGBrgb(171, 204, 66)
HSLhsl(74, 58%, 53%)
HSVhsv(74, 68%, 80%)
CMYKcmyk(16.2%, 0%, 67.6%, 20%)
CIE-LABlab(77.42, -29.96, 62.18)
CIE-LCHlch(77.42, 69.03, 115.73°)
OKLaboklab(79.51% -0.0873 0.1403)
OKLCHoklch(79.51% 0.165 121.9)
XYZxyz(39.3713, 52.2370, 13.1618)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCC42 #6342CC
analogous
#CCA842 #ABCC42 #66CC42
triadic
#ABCC42 #42ABCC #CC42AB
tetradic
#ABCC42 #42CCA8 #6342CC #CC4266
square
#ABCC42 #42CCA8 #6342CC #CC4266
split-complementary
#ABCC42 #4266CC #A842CC
monochromatic
#60741F #88A42C #ABCC42 #C0D972 #D6E6A2

Accessibility & contrast

On white

1.83
#ABCC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#ABCC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCC42
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCC42#FFFFFF#000000##000000
##ABCC421.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abcc42;
/* rgb */ color: rgb(171, 204, 66);
/* oklch */ color: oklch(79.5% 0.165 121.9);
Tailwind
colors: {
  custom: {
    50: '#c7db7e',
    500: '#abcc42',
    950: '#000000',
  },
}
SCSS
$custom: #abcc42;
$custom-light: #c7db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abcc42",
  "rgb": {
    "r": 171,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 74.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79512,
    "c": 0.1652,
    "h": 121.9
  },
  "luminance": 0.52237
}

Semantic roles & 50–950 ramp

primary
#ABCC42
secondary
#46357D
accent
#47E16C
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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