#5AB045#5AB045

#5AB045 is a light, vivid green. Relative luminance 0.337; OKLCH L 68.0% C 0.166 H 139.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5AB045
RGBrgb(90, 176, 69)
HSLhsl(108, 44%, 48%)
HSVhsv(108, 61%, 69%)
CMYKcmyk(48.9%, 0%, 60.8%, 31%)
CIE-LABlab(64.69, -46.40, 45.89)
CIE-LCHlch(64.69, 65.26, 135.32°)
OKLaboklab(68% -0.1272 0.1074)
OKLCHoklch(68% 0.166 139.8)
XYZxyz(20.8151, 33.6525, 11.0278)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB045 #9B45B0
analogous
#8FB045 #5AB045 #45B065
triadic
#5AB045 #455AB0 #B0455A
tetradic
#5AB045 #458FB0 #9B45B0 #B06545
square
#5AB045 #458FB0 #9B45B0 #B06545
split-complementary
#5AB045 #6545B0 #B0458F
monochromatic
#2D5823 #448434 #5AB045 #7EC66D #A5D799

Accessibility & contrast

On white

2.72
#5AB045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#5AB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB045
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB045#FFFFFF#000000##000000
##5AB0451.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A239
Deuteranopia (green-blind)
#A99A4D
Tritanopia (blue-blind)
#52AB99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab045;
/* rgb */ color: rgb(90, 176, 69);
/* oklch */ color: oklch(68.0% 0.166 139.8);
Tailwind
colors: {
  custom: {
    50: '#8fc87c',
    500: '#5ab045',
    950: '#000000',
  },
}
SCSS
$custom: #5ab045;
$custom-light: #8fc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab045",
  "rgb": {
    "r": 90,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 108.224,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67996,
    "c": 0.16648,
    "h": 139.8
  },
  "luminance": 0.33654
}

Semantic roles & 50–950 ramp

primary
#5AB045
secondary
#B88EC3
accent
#54D3BA
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #5AB045

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

Preview Lab → · Contrast checker → · Palette generator →

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