#5AB138#5AB138

#5AB138 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.1% C 0.178 H 138.3°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5AB138
RGBrgb(90, 177, 56)
HSLhsl(103, 52%, 46%)
HSVhsv(103, 68%, 69%)
CMYKcmyk(49.2%, 0%, 68.4%, 30.6%)
CIE-LABlab(64.88, -48.05, 51.71)
CIE-LCHlch(64.88, 70.59, 132.90°)
OKLaboklab(68.12% -0.1326 0.1182)
OKLCHoklch(68.12% 0.178 138.3)
XYZxyz(20.6517, 33.9020, 9.1961)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB138 #8F38B1
analogous
#96B138 #5AB138 #38B152
triadic
#5AB138 #385AB1 #B1385A
tetradic
#5AB138 #3896B1 #8F38B1 #B15238
square
#5AB138 #3896B1 #8F38B1 #B15238
split-complementary
#5AB138 #5238B1 #B13896
monochromatic
#2B541B #428329 #5AB138 #7BCB5B #A0DA8A

Accessibility & contrast

On white

2.70
#5AB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#5AB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB138
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB138#FFFFFF#000000##000000
##5AB1381.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A227
Deuteranopia (green-blind)
#AB9B43
Tritanopia (blue-blind)
#53AB99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab138;
/* rgb */ color: rgb(90, 177, 56);
/* oklch */ color: oklch(68.1% 0.178 138.3);
Tailwind
colors: {
  custom: {
    50: '#90c975',
    500: '#5ab138',
    950: '#000000',
  },
}
SCSS
$custom: #5ab138;
$custom-light: #90c975;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab138",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 103.14,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.17763,
    "h": 138.3
  },
  "luminance": 0.33903
}

Semantic roles & 50–950 ramp

primary
#5AB138
secondary
#B181C4
accent
#4CDBB3
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5AB138

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

Preview Lab → · Contrast checker → · Palette generator →

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