#5AB938#5AB938

#5AB938 is a light, vivid green. Relative luminance 0.372; OKLCH L 70.2% C 0.188 H 138.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5AB938
RGBrgb(90, 185, 56)
HSLhsl(104, 54%, 47%)
HSVhsv(104, 70%, 73%)
CMYKcmyk(51.4%, 0%, 69.7%, 27.5%)
CIE-LABlab(67.39, -51.17, 54.34)
CIE-LCHlch(67.39, 74.64, 133.28°)
OKLaboklab(70.19% -0.141 0.1238)
OKLCHoklch(70.19% 0.188 138.7)
XYZxyz(22.2784, 37.1554, 9.7384)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB938 #9738B9
analogous
#9BB938 #5AB938 #38B957
triadic
#5AB938 #385AB9 #B9385A
tetradic
#5AB938 #389BB9 #9738B9 #B95738
square
#5AB938 #389BB9 #9738B9 #B95738
split-complementary
#5AB938 #5738B9 #B9389B
monochromatic
#2C5B1C #438A2A #5AB938 #7DCF5F #A3DD8E

Accessibility & contrast

On white

2.49
#5AB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#5AB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB938
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB938#FFFFFF#000000##000000
##5AB9381.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#B2A144
Tritanopia (blue-blind)
#52B39F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5ab938;
/* rgb */ color: rgb(90, 185, 56);
/* oklch */ color: oklch(70.2% 0.188 138.7);
Tailwind
colors: {
  custom: {
    50: '#91cf76',
    500: '#5ab938',
    950: '#000000',
  },
}
SCSS
$custom: #5ab938;
$custom-light: #91cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab938",
  "rgb": {
    "r": 90,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 104.186,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70185,
    "c": 0.18761,
    "h": 138.7
  },
  "luminance": 0.37157
}

Semantic roles & 50–950 ramp

primary
#5AB938
secondary
#B685C8
accent
#4BDDB6
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1409
muted
#7E827B

Preview Lab

Preview with #5AB938

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

Preview Lab → · Contrast checker → · Palette generator →

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