#ABCC31#ABCC31

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

Color values

HEX#ABCC31
RGBrgb(171, 204, 49)
HSLhsl(73, 61%, 50%)
HSVhsv(73, 76%, 80%)
CMYKcmyk(16.2%, 0%, 76%, 20%)
CIE-LABlab(77.32, -30.88, 68.02)
CIE-LCHlch(77.32, 74.70, 114.42°)
OKLaboklab(79.4% -0.0912 0.1499)
OKLCHoklch(79.4% 0.175 121.3)
XYZxyz(38.9425, 52.0654, 10.9032)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCC31 #5231CC
analogous
#CCA031 #ABCC31 #5ECC31
triadic
#ABCC31 #31ABCC #CC31AB
tetradic
#ABCC31 #31CCA0 #5231CC #CC315E
square
#ABCC31 #31CCA0 #5231CC #CC315E
split-complementary
#ABCC31 #315ECC #A031CC
monochromatic
#586919 #829B25 #ABCC31 #C0D961 #D3E592

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABCC31#FFFFFF#000000##000000
##ABCC311.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)
#D9C006
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#B5C1AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #abcc31;
/* rgb */ color: rgb(171, 204, 49);
/* oklch */ color: oklch(79.4% 0.175 121.3);
Tailwind
colors: {
  custom: {
    50: '#c8db75',
    500: '#abcc31',
    950: '#000000',
  },
}
SCSS
$custom: #abcc31;
$custom-light: #c8db75;
$custom-dark: #000000;
JSON
{
  "hex": "#abcc31",
  "rgb": {
    "r": 171,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 72.774,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79397,
    "c": 0.17544,
    "h": 121.3
  },
  "luminance": 0.52065
}

Semantic roles & 50–950 ramp

primary
#ABCC31
secondary
#3D2E73
accent
#43E466
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #ABCC31

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

Preview Lab → · Contrast checker → · Palette generator →

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