#5AB927#5AB927

#5AB927 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.1% C 0.197 H 137.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5AB927
RGBrgb(90, 185, 39)
HSLhsl(99, 65%, 44%)
HSVhsv(99, 79%, 73%)
CMYKcmyk(51.4%, 0%, 78.9%, 27.5%)
CIE-LABlab(67.29, -52.33, 60.16)
CIE-LCHlch(67.29, 79.73, 131.02°)
OKLaboklab(70.07% -0.1452 0.1336)
OKLCHoklch(70.07% 0.197 137.4)
XYZxyz(21.9309, 37.0164, 7.9083)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB927 #8627B9
analogous
#A3B927 #5AB927 #27B93D
triadic
#5AB927 #275AB9 #B9275A
tetradic
#5AB927 #27A3B9 #8627B9 #B93D27
square
#5AB927 #27A3B9 #8627B9 #B93D27
split-complementary
#5AB927 #3D27B9 #B927A3
monochromatic
#295412 #41861C #5AB927 #79D845 #9DE378

Accessibility & contrast

On white

2.50
#5AB927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#5AB927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB927
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB927#FFFFFF#000000##000000
##5AB9271.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#53B29E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5ab927;
/* rgb */ color: rgb(90, 185, 39);
/* oklch */ color: oklch(70.1% 0.197 137.4);
Tailwind
colors: {
  custom: {
    50: '#92cf6d',
    500: '#5ab927',
    950: '#000000',
  },
}
SCSS
$custom: #5ab927;
$custom-light: #92cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab927",
  "rgb": {
    "r": 90,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 99.041,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70066,
    "c": 0.19727,
    "h": 137.4
  },
  "luminance": 0.37018
}

Semantic roles & 50–950 ramp

primary
#5AB927
secondary
#AB72CA
accent
#40E8AD
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1408
muted
#7E827A

Preview Lab

Preview with #5AB927

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

Preview Lab → · Contrast checker → · Palette generator →

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