#ABC271#ABC271

#ABC271 is a light, moderate yellow-green. Relative luminance 0.484; OKLCH L 77.8% C 0.109 H 121.9°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#ABC271
RGBrgb(171, 194, 113)
HSLhsl(77, 40%, 60%)
HSVhsv(77, 42%, 76%)
CMYKcmyk(11.9%, 0%, 41.8%, 23.9%)
CIE-LABlab(75.10, -20.90, 38.11)
CIE-LCHlch(75.10, 43.47, 118.75°)
OKLaboklab(77.8% -0.0578 0.0927)
OKLCHoklch(77.8% 0.109 121.9)
XYZxyz(39.0670, 48.4337, 22.9101)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC271 #8871C2
analogous
#C2B071 #ABC271 #83C271
triadic
#ABC271 #71ABC2 #C271AB
tetradic
#ABC271 #71C2B0 #8871C2 #C27183
square
#ABC271 #71C2B0 #8871C2 #C27183
split-complementary
#ABC271 #7183C2 #B071C2
monochromatic
#6C8137 #90AC4A #ABC271 #C4D49C #DEE7C7

Accessibility & contrast

On white

1.97
#ABC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#ABC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC271
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC271#FFFFFF#000000##000000
##ABC2711.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB96B
Deuteranopia (green-blind)
#C8B975
Tritanopia (blue-blind)
#B1BBAE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #abc271;
/* rgb */ color: rgb(171, 194, 113);
/* oklch */ color: oklch(77.8% 0.109 121.9);
Tailwind
colors: {
  custom: {
    50: '#c5d49b',
    500: '#abc271',
    950: '#000000',
  },
}
SCSS
$custom: #abc271;
$custom-light: #c5d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#abc271",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 77.037,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.77801,
    "c": 0.10927,
    "h": 121.9
  },
  "luminance": 0.48434
}

Semantic roles & 50–950 ramp

primary
#ABC271
secondary
#C1B8D7
accent
#33B357
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #ABC271

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

Preview Lab → · Contrast checker → · Palette generator →

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