#5AB628#5AB628

#5AB628 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.3% C 0.193 H 137.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5AB628
RGBrgb(90, 182, 40)
HSLhsl(99, 64%, 44%)
HSVhsv(99, 78%, 71%)
CMYKcmyk(50.5%, 0%, 78%, 28.6%)
CIE-LABlab(66.35, -51.14, 58.96)
CIE-LCHlch(66.35, 78.05, 130.94°)
OKLaboklab(69.3% -0.1419 0.1312)
OKLCHoklch(69.3% 0.193 137.2)
XYZxyz(21.3267, 35.7812, 7.7897)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB628 #8428B6
analogous
#A1B628 #5AB628 #28B63D
triadic
#5AB628 #285AB6 #B6285A
tetradic
#5AB628 #28A1B6 #8428B6 #B63D28
square
#5AB628 #28A1B6 #8428B6 #B63D28
split-complementary
#5AB628 #3D28B6 #B628A1
monochromatic
#285212 #41841D #5AB628 #78D645 #9DE177

Accessibility & contrast

On white

2.57
#5AB628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#5AB628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB628
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB628#FFFFFF#000000##000000
##5AB6281.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#54AF9C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ab628;
/* rgb */ color: rgb(90, 182, 40);
/* oklch */ color: oklch(69.3% 0.193 137.2);
Tailwind
colors: {
  custom: {
    50: '#92cd6d',
    500: '#5ab628',
    950: '#000000',
  },
}
SCSS
$custom: #5ab628;
$custom-light: #92cd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab628",
  "rgb": {
    "r": 90,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 98.873,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69296,
    "c": 0.19327,
    "h": 137.2
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#5AB628
secondary
#AA71C9
accent
#41E7AC
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB628

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

Preview Lab → · Contrast checker → · Palette generator →

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