#5AB028#5AB028

#5AB028 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 67.7% C 0.186 H 136.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5AB028
RGBrgb(90, 176, 40)
HSLhsl(98, 63%, 42%)
HSVhsv(98, 77%, 69%)
CMYKcmyk(48.9%, 0%, 77.3%, 31%)
CIE-LABlab(64.46, -48.82, 57.15)
CIE-LCHlch(64.46, 75.17, 130.50°)
OKLaboklab(67.74% -0.1357 0.1274)
OKLCHoklch(67.74% 0.186 136.8)
XYZxyz(20.1242, 33.3761, 7.3889)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB028 #7E28B0
analogous
#9EB028 #5AB028 #28B03A
triadic
#5AB028 #285AB0 #B0285A
tetradic
#5AB028 #289EB0 #7E28B0 #B03A28
square
#5AB028 #289EB0 #7E28B0 #B03A28
split-complementary
#5AB028 #3A28B0 #B0289E
monochromatic
#274C11 #417E1D #5AB028 #77D441 #9BDF73

Accessibility & contrast

On white

2.74
#5AB028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#5AB028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB028
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB028#FFFFFF#000000##000000
##5AB0281.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5ab028;
/* rgb */ color: rgb(90, 176, 40);
/* oklch */ color: oklch(67.7% 0.186 136.8);
Tailwind
colors: {
  custom: {
    50: '#91c86d',
    500: '#5ab028',
    950: '#000000',
  },
}
SCSS
$custom: #5ab028;
$custom-light: #91c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab028",
  "rgb": {
    "r": 90,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 97.941,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67743,
    "c": 0.18613,
    "h": 136.8
  },
  "luminance": 0.33378
}

Semantic roles & 50–950 ramp

primary
#5AB028
secondary
#A66DC6
accent
#42E6AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB028

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

Preview Lab → · Contrast checker → · Palette generator →

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