#5AB227#5AB227

#5AB227 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.3% C 0.189 H 136.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5AB227
RGBrgb(90, 178, 39)
HSLhsl(98, 64%, 43%)
HSVhsv(98, 78%, 70%)
CMYKcmyk(49.4%, 0%, 78.1%, 30.2%)
CIE-LABlab(65.09, -49.66, 58.07)
CIE-LCHlch(65.09, 76.41, 130.53°)
OKLaboklab(68.26% -0.138 0.1292)
OKLCHoklch(68.26% 0.189 136.9)
XYZxyz(20.5024, 34.1595, 7.4321)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB227 #7F27B2
analogous
#9FB227 #5AB227 #27B23A
triadic
#5AB227 #275AB2 #B2275A
tetradic
#5AB227 #279FB2 #7F27B2 #B23A27
square
#5AB227 #279FB2 #7F27B2 #B23A27
split-complementary
#5AB227 #3A27B2 #B2279F
monochromatic
#274E11 #41801C #5AB227 #77D541 #9BE073

Accessibility & contrast

On white

2.68
#5AB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#5AB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB227
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB227#FFFFFF#000000##000000
##5AB2271.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#55AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab227;
/* rgb */ color: rgb(90, 178, 39);
/* oklch */ color: oklch(68.3% 0.189 136.9);
Tailwind
colors: {
  custom: {
    50: '#91ca6c',
    500: '#5ab227',
    950: '#000000',
  },
}
SCSS
$custom: #5ab227;
$custom-light: #91ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab227",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 97.986,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68255,
    "c": 0.18903,
    "h": 136.9
  },
  "luminance": 0.34161
}

Semantic roles & 50–950 ramp

primary
#5AB227
secondary
#A66DC8
accent
#41E7AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB227

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

Preview Lab → · Contrast checker → · Palette generator →

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