#ABC772#ABC772

#ABC772 is a light, moderate yellow-green. Relative luminance 0.507; OKLCH L 78.9% C 0.115 H 123.9°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#ABC772
RGBrgb(171, 199, 114)
HSLhsl(80, 43%, 61%)
HSVhsv(80, 43%, 78%)
CMYKcmyk(14.1%, 0%, 42.7%, 22%)
CIE-LABlab(76.51, -23.26, 39.38)
CIE-LCHlch(76.51, 45.74, 120.56°)
OKLaboklab(78.94% -0.0643 0.0957)
OKLCHoklch(78.94% 0.115 123.9)
XYZxyz(40.2552, 50.7195, 23.5854)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC772 #8E72C7
analogous
#C7B972 #ABC772 #81C772
triadic
#ABC772 #72ABC7 #C772AB
tetradic
#ABC772 #72C7B9 #8E72C7 #C77281
square
#ABC772 #72C7B9 #8E72C7 #C77281
split-complementary
#ABC772 #7281C7 #B972C7
monochromatic
#6D8836 #90B448 #ABC772 #C5D89E #DFEACA

Accessibility & contrast

On white

1.88
#ABC772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#ABC772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC772
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC772#FFFFFF#000000##000000
##ABC7721.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6B
Deuteranopia (green-blind)
#CCBD76
Tritanopia (blue-blind)
#B1C0B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc772;
/* rgb */ color: rgb(171, 199, 114);
/* oklch */ color: oklch(78.9% 0.115 123.9);
Tailwind
colors: {
  custom: {
    50: '#c5d89c',
    500: '#abc772',
    950: '#000000',
  },
}
SCSS
$custom: #abc772;
$custom-light: #c5d89c;
$custom-dark: #000000;
JSON
{
  "hex": "#abc772",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 79.765,
    "s": 43.147,
    "l": 61.373
  },
  "oklch": {
    "l": 0.78937,
    "c": 0.1153,
    "h": 123.9
  },
  "luminance": 0.5072
}

Semantic roles & 50–950 ramp

primary
#ABC772
secondary
#634D90
accent
#2FB65C
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #ABC772

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

Preview Lab → · Contrast checker → · Palette generator →

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