#ABC771#ABC771

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

Color values

HEX#ABC771
RGBrgb(171, 199, 113)
HSLhsl(80, 43%, 61%)
HSVhsv(80, 43%, 78%)
CMYKcmyk(14.1%, 0%, 43.2%, 22%)
CIE-LABlab(76.50, -23.37, 39.87)
CIE-LCHlch(76.50, 46.21, 120.38°)
OKLaboklab(78.92% -0.0647 0.0967)
OKLCHoklch(78.92% 0.116 123.8)
XYZxyz(40.1985, 50.6969, 23.2873)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC771 #8D71C7
analogous
#C7B871 #ABC771 #80C771
triadic
#ABC771 #71ABC7 #C771AB
tetradic
#ABC771 #71C7B8 #8D71C7 #C77180
square
#ABC771 #71C7B8 #8D71C7 #C77180
split-complementary
#ABC771 #7180C7 #B871C7
monochromatic
#6D8836 #90B447 #ABC771 #C5D89D #DFEAC9

Accessibility & contrast

On white

1.89
#ABC771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC771#FFFFFF#000000##000000
##ABC7711.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abc771;
/* rgb */ color: rgb(171, 199, 113);
/* oklch */ color: oklch(78.9% 0.116 123.8);
Tailwind
colors: {
  custom: {
    50: '#c5d89b',
    500: '#abc771',
    950: '#000000',
  },
}
SCSS
$custom: #abc771;
$custom-light: #c5d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#abc771",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 79.535,
    "s": 43.434,
    "l": 61.176
  },
  "oklch": {
    "l": 0.78921,
    "c": 0.11638,
    "h": 123.8
  },
  "luminance": 0.50697
}

Semantic roles & 50–950 ramp

primary
#ABC771
secondary
#624D90
accent
#2FB75B
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #ABC771

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

Preview Lab → · Contrast checker → · Palette generator →

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