#5ABC28#5ABC28

#5ABC28 is a light, highly saturated yellow-green. Relative luminance 0.383; OKLCH L 70.8% C 0.200 H 137.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#5ABC28
RGBrgb(90, 188, 40)
HSLhsl(100, 65%, 45%)
HSVhsv(100, 79%, 74%)
CMYKcmyk(52.1%, 0%, 78.7%, 26.3%)
CIE-LABlab(68.23, -53.40, 60.75)
CIE-LCHlch(68.23, 80.88, 131.32°)
OKLaboklab(70.85% -0.148 0.1349)
OKLCHoklch(70.85% 0.2 137.6)
XYZxyz(22.5819, 38.2916, 8.2081)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ABC28 #8A28BC
analogous
#A4BC28 #5ABC28 #28BC40
triadic
#5ABC28 #285ABC #BC285A
tetradic
#5ABC28 #28A4BC #8A28BC #BC4028
square
#5ABC28 #28A4BC #8A28BC #BC4028
split-complementary
#5ABC28 #4028BC #BC28A4
monochromatic
#2A5713 #428A1D #5ABC28 #79D849 #9EE37B

Accessibility & contrast

On white

2.43
#5ABC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#5ABC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ABC28
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ABC28#FFFFFF#000000##000000
##5ABC281.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#53B5A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #5abc28;
/* rgb */ color: rgb(90, 188, 40);
/* oklch */ color: oklch(70.8% 0.200 137.6);
Tailwind
colors: {
  custom: {
    50: '#92d16e',
    500: '#5abc28',
    950: '#000000',
  },
}
SCSS
$custom: #5abc28;
$custom-light: #92d16e;
$custom-dark: #000000;
JSON
{
  "hex": "#5abc28",
  "rgb": {
    "r": 90,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 99.73,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70847,
    "c": 0.20028,
    "h": 137.6
  },
  "luminance": 0.38293
}

Semantic roles & 50–950 ramp

primary
#5ABC28
secondary
#AE75CB
accent
#40E8AF
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5ABC28

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

Preview Lab → · Contrast checker → · Palette generator →

#5ABC28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva