#ABC478#ABC478

#ABC478 is a light, moderate yellow-green. Relative luminance 0.495; OKLCH L 78.4% C 0.104 H 123.6°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#ABC478
RGBrgb(171, 196, 120)
HSLhsl(80, 39%, 62%)
HSVhsv(80, 39%, 77%)
CMYKcmyk(12.8%, 0%, 38.8%, 23.1%)
CIE-LABlab(75.76, -21.05, 35.38)
CIE-LCHlch(75.76, 41.17, 120.75°)
OKLaboklab(78.36% -0.0578 0.0868)
OKLCHoklch(78.36% 0.104 123.6)
XYZxyz(39.9245, 49.4937, 25.2156)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC478 #9178C4
analogous
#C4B778 #ABC478 #85C478
triadic
#ABC478 #78ABC4 #C478AB
tetradic
#ABC478 #78C4B7 #9178C4 #C47885
square
#ABC478 #78C4B7 #9178C4 #C47885
split-complementary
#ABC478 #7885C4 #B778C4
monochromatic
#6E873B #90B14D #ABC478 #C5D7A3 #E0E9CD

Accessibility & contrast

On white

1.93
#ABC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#ABC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC478
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC478#FFFFFF#000000##000000
##ABC4781.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB72
Deuteranopia (green-blind)
#C9BB7C
Tritanopia (blue-blind)
#B0BDB1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #abc478;
/* rgb */ color: rgb(171, 196, 120);
/* oklch */ color: oklch(78.4% 0.104 123.6);
Tailwind
colors: {
  custom: {
    50: '#c5d6a0',
    500: '#abc478',
    950: '#000000',
  },
}
SCSS
$custom: #abc478;
$custom-light: #c5d6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#abc478",
  "rgb": {
    "r": 171,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 79.737,
    "s": 39.175,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78363,
    "c": 0.10429,
    "h": 123.6
  },
  "luminance": 0.49494
}

Semantic roles & 50–950 ramp

primary
#ABC478
secondary
#C7BEDA
accent
#33B25D
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140F
muted
#82837E

Preview Lab

Preview with #ABC478

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

Preview Lab → · Contrast checker → · Palette generator →

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