#5AB427#5AB427

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

Color values

HEX#5AB427
RGBrgb(90, 180, 39)
HSLhsl(98, 64%, 43%)
HSVhsv(98, 78%, 71%)
CMYKcmyk(50%, 0%, 78.3%, 29.4%)
CIE-LABlab(65.72, -50.43, 58.67)
CIE-LCHlch(65.72, 77.36, 130.68°)
OKLaboklab(68.77% -0.1401 0.1305)
OKLCHoklch(68.77% 0.191 137)
XYZxyz(20.9033, 34.9612, 7.5658)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB427 #8127B4
analogous
#A0B427 #5AB427 #27B43A
triadic
#5AB427 #275AB4 #B4275A
tetradic
#5AB427 #27A0B4 #8127B4 #B43A27
square
#5AB427 #27A0B4 #8127B4 #B43A27
split-complementary
#5AB427 #3A27B4 #B427A0
monochromatic
#284F11 #41821C #5AB427 #78D642 #9CE174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB427#FFFFFF#000000##000000
##5AB4271.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)
#AE9D37
Tritanopia (blue-blind)
#54AD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab427;
/* rgb */ color: rgb(90, 180, 39);
/* oklch */ color: oklch(68.8% 0.191 137.0);
Tailwind
colors: {
  custom: {
    50: '#91cb6d',
    500: '#5ab427',
    950: '#000000',
  },
}
SCSS
$custom: #5ab427;
$custom-light: #91cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab427",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 98.298,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68773,
    "c": 0.1914,
    "h": 137
  },
  "luminance": 0.34963
}

Semantic roles & 50–950 ramp

primary
#5AB427
secondary
#A86FC8
accent
#40E7AB
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB427

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

Preview Lab → · Contrast checker → · Palette generator →

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