#5A8A50#5A8A50

#5A8A50 is a mid, moderate green. Relative luminance 0.209; OKLCH L 58.4% C 0.100 H 140.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5A8A50
RGBrgb(90, 138, 80)
HSLhsl(110, 27%, 43%)
HSVhsv(110, 42%, 54%)
CMYKcmyk(34.8%, 0%, 42%, 45.9%)
CIE-LABlab(52.87, -28.15, 26.02)
CIE-LCHlch(52.87, 38.34, 137.26°)
OKLaboklab(58.4% -0.0769 0.0641)
OKLCHoklch(58.4% 0.1 140.2)
XYZxyz(14.7524, 20.9291, 10.8503)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A50 #80508A
analogous
#778A50 #5A8A50 #508A63
triadic
#5A8A50 #505A8A #8A505A
tetradic
#5A8A50 #50778A #80508A #8A6350
square
#5A8A50 #50778A #80508A #8A6350
split-complementary
#5A8A50 #63508A #8A5077
monochromatic
#273D23 #41633A #5A8A50 #77AA6D #9BC194

Accessibility & contrast

On white

4.05
#5A8A50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5A8A50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A50
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A50#FFFFFF#000000##000000
##5A8A501.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814C
Deuteranopia (green-blind)
#867D53
Tritanopia (blue-blind)
#57877C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a8a50;
/* rgb */ color: rgb(90, 138, 80);
/* oklch */ color: oklch(58.4% 0.100 140.2);
Tailwind
colors: {
  custom: {
    50: '#8bac82',
    500: '#5a8a50',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a50;
$custom-light: #8bac82;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a50",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 80
  },
  "hsl": {
    "h": 109.655,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.1001,
    "h": 140.2
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#5A8A50
secondary
#A788AE
accent
#65C3B3
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5A8A50

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

Preview Lab → · Contrast checker → · Palette generator →

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