#5A9D45#5A9D45

#5A9D45 is a light, vivid green. Relative luminance 0.267; OKLCH L 63.1% C 0.140 H 138.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A9D45
RGBrgb(90, 157, 69)
HSLhsl(106, 39%, 44%)
HSVhsv(106, 56%, 62%)
CMYKcmyk(42.7%, 0%, 56.1%, 38.4%)
CIE-LABlab(58.71, -38.41, 38.96)
CIE-LCHlch(58.71, 54.71, 134.59°)
OKLaboklab(63.1% -0.1055 0.0924)
OKLCHoklch(63.1% 0.14 138.8)
XYZxyz(17.3470, 26.7163, 9.8718)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9D45 #88459D
analogous
#869D45 #5A9D45 #459D5C
triadic
#5A9D45 #455A9D #9D455A
tetradic
#5A9D45 #45869D #88459D #9D5C45
square
#5A9D45 #45869D #88459D #9D5C45
split-complementary
#5A9D45 #5C459D #9D4586
monochromatic
#294820 #427232 #5A9D45 #79BB64 #9ECE8F

Accessibility & contrast

On white

3.31
#5A9D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A9D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9D45
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9D45#FFFFFF#000000##000000
##5A9D451.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1913D
Deuteranopia (green-blind)
#988B4B
Tritanopia (blue-blind)
#559889
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9d45;
/* rgb */ color: rgb(90, 157, 69);
/* oklch */ color: oklch(63.1% 0.140 138.8);
Tailwind
colors: {
  custom: {
    50: '#8dba7b',
    500: '#5a9d45',
    950: '#000000',
  },
}
SCSS
$custom: #5a9d45;
$custom-light: #8dba7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9d45",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 69
  },
  "hsl": {
    "h": 105.682,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63102,
    "c": 0.14024,
    "h": 138.8
  },
  "luminance": 0.26717
}

Semantic roles & 50–950 ramp

primary
#5A9D45
secondary
#AD85B9
accent
#59CFB3
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0D1209
muted
#7D817B

Preview Lab

Preview with #5A9D45

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

Preview Lab → · Contrast checker → · Palette generator →

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