#ABC874#ABC874

#ABC874 is a light, moderate yellow-green. Relative luminance 0.512; OKLCH L 79.2% C 0.115 H 124.5°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#ABC874
RGBrgb(171, 200, 116)
HSLhsl(81, 43%, 62%)
HSVhsv(81, 42%, 78%)
CMYKcmyk(14.5%, 0%, 42%, 21.6%)
CIE-LABlab(76.82, -23.51, 38.77)
CIE-LCHlch(76.82, 45.34, 121.23°)
OKLaboklab(79.19% -0.0649 0.0944)
OKLCHoklch(79.19% 0.115 124.5)
XYZxyz(40.6011, 51.2272, 24.2685)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC874 #9174C8
analogous
#C8BB74 #ABC874 #81C874
triadic
#ABC874 #74ABC8 #C874AB
tetradic
#ABC874 #74C8BB #9174C8 #C87481
square
#ABC874 #74C8BB #9174C8 #C87481
split-complementary
#ABC874 #7481C8 #BB74C8
monochromatic
#6E8B37 #90B748 #ABC874 #C5D9A0 #E0EBCC

Accessibility & contrast

On white

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

On black

11.25
#ABC874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC874
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC874#FFFFFF#000000##000000
##ABC8741.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6D
Deuteranopia (green-blind)
#CCBD78
Tritanopia (blue-blind)
#B0C1B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc874;
/* rgb */ color: rgb(171, 200, 116);
/* oklch */ color: oklch(79.2% 0.115 124.5);
Tailwind
colors: {
  custom: {
    50: '#c5d89d',
    500: '#abc874',
    950: '#000000',
  },
}
SCSS
$custom: #abc874;
$custom-light: #c5d89d;
$custom-dark: #000000;
JSON
{
  "hex": "#abc874",
  "rgb": {
    "r": 171,
    "g": 200,
    "b": 116
  },
  "hsl": {
    "h": 80.714,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.79193,
    "c": 0.11455,
    "h": 124.5
  },
  "luminance": 0.51227
}

Semantic roles & 50–950 ramp

primary
#ABC874
secondary
#664E92
accent
#2FB65E
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #ABC874

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

Preview Lab → · Contrast checker → · Palette generator →

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