#5AB327#5AB327

#5AB327 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.5% C 0.190 H 137.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5AB327
RGBrgb(90, 179, 39)
HSLhsl(98, 64%, 43%)
HSVhsv(98, 78%, 70%)
CMYKcmyk(49.7%, 0%, 78.2%, 29.8%)
CIE-LABlab(65.40, -50.04, 58.37)
CIE-LCHlch(65.40, 76.89, 130.61°)
OKLaboklab(68.51% -0.139 0.1298)
OKLCHoklch(68.51% 0.19 137)
XYZxyz(20.7021, 34.5589, 7.4987)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB327 #8027B3
analogous
#A0B327 #5AB327 #27B33A
triadic
#5AB327 #275AB3 #B3275A
tetradic
#5AB327 #27A0B3 #8027B3 #B33A27
square
#5AB327 #27A0B3 #8027B3 #B33A27
split-complementary
#5AB327 #3A27B3 #B327A0
monochromatic
#274E11 #41811C #5AB327 #77D641 #9BE174

Accessibility & contrast

On white

2.65
#5AB327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5AB327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB327
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB327#FFFFFF#000000##000000
##5AB3271.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#55AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab327;
/* rgb */ color: rgb(90, 179, 39);
/* oklch */ color: oklch(68.5% 0.190 137.0);
Tailwind
colors: {
  custom: {
    50: '#91ca6d',
    500: '#5ab327',
    950: '#000000',
  },
}
SCSS
$custom: #5ab327;
$custom-light: #91ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab327",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 98.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68514,
    "c": 0.19022,
    "h": 137
  },
  "luminance": 0.3456
}

Semantic roles & 50–950 ramp

primary
#5AB327
secondary
#A76EC8
accent
#41E7AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB327

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

Preview Lab → · Contrast checker → · Palette generator →

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