#ABC157#ABC157

#ABC157 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 77.2% C 0.135 H 119.4°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#ABC157
RGBrgb(171, 193, 87)
HSLhsl(72, 46%, 55%)
HSVhsv(72, 55%, 76%)
CMYKcmyk(11.4%, 0%, 54.9%, 24.3%)
CIE-LABlab(74.50, -23.09, 50.05)
CIE-LCHlch(74.50, 55.12, 114.76°)
OKLaboklab(77.22% -0.0661 0.1172)
OKLCHoklch(77.22% 0.135 119.4)
XYZxyz(37.5853, 47.4862, 16.2007)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC157 #6D57C1
analogous
#C1A257 #ABC157 #76C157
triadic
#ABC157 #57ABC1 #C157AB
tetradic
#ABC157 #57C1A2 #6D57C1 #C15776
square
#ABC157 #57C1A2 #6D57C1 #C15776
split-complementary
#ABC157 #5776C1 #A257C1
monochromatic
#64732A #8BA03B #ABC157 #C1D184 #D8E2B0

Accessibility & contrast

On white

2.00
#ABC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#ABC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC157
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC157#FFFFFF#000000##000000
##ABC1571.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74C
Deuteranopia (green-blind)
#C9B85D
Tritanopia (blue-blind)
#B3B8AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #abc157;
/* rgb */ color: rgb(171, 193, 87);
/* oklch */ color: oklch(77.2% 0.135 119.4);
Tailwind
colors: {
  custom: {
    50: '#c6d38a',
    500: '#abc157',
    950: '#000000',
  },
}
SCSS
$custom: #abc157;
$custom-light: #c6d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#abc157",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 72.453,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77219,
    "c": 0.13453,
    "h": 119.4
  },
  "luminance": 0.47486
}

Semantic roles & 50–950 ramp

primary
#ABC157
secondary
#ADA4D0
accent
#52D66D
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #ABC157

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

Preview Lab → · Contrast checker → · Palette generator →

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