#ABC956#ABC956

#ABC956 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.0% C 0.146 H 122.0°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#ABC956
RGBrgb(171, 201, 86)
HSLhsl(76, 52%, 56%)
HSVhsv(76, 57%, 79%)
CMYKcmyk(14.9%, 0%, 57.2%, 21.2%)
CIE-LABlab(76.74, -27.06, 53.07)
CIE-LCHlch(76.74, 59.57, 117.01°)
OKLaboklab(79.02% -0.0773 0.1235)
OKLCHoklch(79.02% 0.146 122)
XYZxyz(39.3613, 51.1030, 16.5925)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC956 #7456C9
analogous
#C9AE56 #ABC956 #72C956
triadic
#ABC956 #56ABC9 #C956AB
tetradic
#ABC956 #56C9AE #7456C9 #C95672
square
#ABC956 #56C9AE #7456C9 #C95672
split-complementary
#ABC956 #5672C9 #AE56C9
monochromatic
#677D28 #8DAB37 #ABC956 #C2D884 #D9E7B3

Accessibility & contrast

On white

1.87
#ABC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#ABC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC956
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC956#FFFFFF#000000##000000
##ABC9561.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#D0BD5D
Tritanopia (blue-blind)
#B3C0B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc956;
/* rgb */ color: rgb(171, 201, 86);
/* oklch */ color: oklch(79.0% 0.146 122.0);
Tailwind
colors: {
  custom: {
    50: '#c6d989',
    500: '#abc956',
    950: '#000000',
  },
}
SCSS
$custom: #abc956;
$custom-light: #c6d989;
$custom-dark: #000000;
JSON
{
  "hex": "#abc956",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 75.652,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79017,
    "c": 0.14575,
    "h": 122
  },
  "luminance": 0.51103
}

Semantic roles & 50–950 ramp

primary
#ABC956
secondary
#513E85
accent
#4DDB72
background
#FDFEFC
surface
#F9FBF4
border
#D2D4CE
text
#13140C
muted
#82837F

Preview Lab

Preview with #ABC956

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

Preview Lab → · Contrast checker → · Palette generator →

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