#5AB428#5AB428

#5AB428 is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 68.8% C 0.191 H 137.1°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5AB428
RGBrgb(90, 180, 40)
HSLhsl(99, 64%, 43%)
HSVhsv(99, 78%, 71%)
CMYKcmyk(50%, 0%, 77.8%, 29.4%)
CIE-LABlab(65.72, -50.37, 58.36)
CIE-LCHlch(65.72, 77.09, 130.80°)
OKLaboklab(68.78% -0.1398 0.13)
OKLCHoklch(68.78% 0.191 137.1)
XYZxyz(20.9201, 34.9679, 7.6542)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB428 #8228B4
analogous
#A0B428 #5AB428 #28B43C
triadic
#5AB428 #285AB4 #B4285A
tetradic
#5AB428 #28A0B4 #8228B4 #B43C28
square
#5AB428 #28A0B4 #8228B4 #B43C28
split-complementary
#5AB428 #3C28B4 #B428A0
monochromatic
#285012 #41821D #5AB428 #78D544 #9CE176

Accessibility & contrast

On white

2.63
#5AB428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#5AB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB428
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB428#FFFFFF#000000##000000
##5AB4281.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#54AD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab428;
/* rgb */ color: rgb(90, 180, 40);
/* oklch */ color: oklch(68.8% 0.191 137.1);
Tailwind
colors: {
  custom: {
    50: '#91cb6d',
    500: '#5ab428',
    950: '#000000',
  },
}
SCSS
$custom: #5ab428;
$custom-light: #91cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab428",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 98.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68779,
    "c": 0.19091,
    "h": 137.1
  },
  "luminance": 0.34969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5AB428

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

Preview Lab → · Contrast checker → · Palette generator →

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