#ABC628#ABC628

#ABC628 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 78.0% C 0.173 H 119.5°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#ABC628
RGBrgb(171, 198, 40)
HSLhsl(70, 66%, 47%)
HSVhsv(70, 80%, 78%)
CMYKcmyk(13.6%, 0%, 79.8%, 22.4%)
CIE-LABlab(75.58, -28.42, 69.07)
CIE-LCHlch(75.58, 74.69, 112.36°)
OKLaboklab(77.98% -0.0851 0.1506)
OKLCHoklch(77.98% 0.173 119.5)
XYZxyz(37.3725, 49.1995, 9.5347)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC628 #4328C6
analogous
#C69228 #ABC628 #5CC628
triadic
#ABC628 #28ABC6 #C628AB
tetradic
#ABC628 #28C692 #4328C6 #C6285C
square
#ABC628 #28C692 #4328C6 #C6285C
split-complementary
#ABC628 #285CC6 #9228C6
monochromatic
#536013 #7F931E #ABC628 #C4DC50 #D5E683

Accessibility & contrast

On white

1.94
#ABC628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#ABC628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC628
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC628#FFFFFF#000000##000000
##ABC6281.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D0BB38
Tritanopia (blue-blind)
#B5BBA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #abc628;
/* rgb */ color: rgb(171, 198, 40);
/* oklch */ color: oklch(78.0% 0.173 119.5);
Tailwind
colors: {
  custom: {
    50: '#c8d771',
    500: '#abc628',
    950: '#000000',
  },
}
SCSS
$custom: #abc628;
$custom-light: #c8d771;
$custom-dark: #000000;
JSON
{
  "hex": "#abc628",
  "rgb": {
    "r": 171,
    "g": 198,
    "b": 40
  },
  "hsl": {
    "h": 70.253,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77976,
    "c": 0.173,
    "h": 119.5
  },
  "luminance": 0.49199
}

Semantic roles & 50–950 ramp

primary
#ABC628
secondary
#897BCF
accent
#3EE95C
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #ABC628

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

Preview Lab → · Contrast checker → · Palette generator →

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