#ABC278#ABC278

#ABC278 is a light, moderate yellow-green. Relative luminance 0.486; OKLCH L 77.9% C 0.101 H 122.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#ABC278
RGBrgb(171, 194, 120)
HSLhsl(79, 38%, 62%)
HSVhsv(79, 38%, 76%)
CMYKcmyk(11.9%, 0%, 38.1%, 23.9%)
CIE-LABlab(75.20, -20.05, 34.67)
CIE-LCHlch(75.20, 40.05, 120.05°)
OKLaboklab(77.92% -0.0549 0.0852)
OKLCHoklch(77.92% 0.101 122.8)
XYZxyz(39.4764, 48.5975, 25.0662)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC278 #8F78C2
analogous
#C2B478 #ABC278 #86C278
triadic
#ABC278 #78ABC2 #C278AB
tetradic
#ABC278 #78C2B4 #8F78C2 #C27886
square
#ABC278 #78C2B4 #8F78C2 #C27886
split-complementary
#ABC278 #7886C2 #B478C2
monochromatic
#6D843C #90AE4F #ABC278 #C5D5A2 #DFE8CC

Accessibility & contrast

On white

1.96
#ABC278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#ABC278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC278
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC278#FFFFFF#000000##000000
##ABC2781.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABA73
Deuteranopia (green-blind)
#C7B97C
Tritanopia (blue-blind)
#B0BBB0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #abc278;
/* rgb */ color: rgb(171, 194, 120);
/* oklch */ color: oklch(77.9% 0.101 122.8);
Tailwind
colors: {
  custom: {
    50: '#c5d4a0',
    500: '#abc278',
    950: '#000000',
  },
}
SCSS
$custom: #abc278;
$custom-light: #c5d4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#abc278",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 120
  },
  "hsl": {
    "h": 78.649,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77917,
    "c": 0.10137,
    "h": 122.8
  },
  "luminance": 0.48598
}

Semantic roles & 50–950 ramp

primary
#ABC278
secondary
#C6BDD9
accent
#35B15B
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140F
muted
#82837E

Preview Lab

Preview with #ABC278

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

Preview Lab → · Contrast checker → · Palette generator →

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