#5A8A4F#5A8A4F

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

Color values

HEX#5A8A4F
RGBrgb(90, 138, 79)
HSLhsl(109, 27%, 43%)
HSVhsv(109, 43%, 54%)
CMYKcmyk(34.8%, 0%, 42.8%, 45.9%)
CIE-LABlab(52.86, -28.31, 26.55)
CIE-LCHlch(52.86, 38.81, 136.84°)
OKLaboklab(58.38% -0.0773 0.0653)
OKLCHoklch(58.38% 0.101 139.9)
XYZxyz(14.7157, 20.9145, 10.6571)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A4F #7F4F8A
analogous
#778A4F #5A8A4F #4F8A62
triadic
#5A8A4F #4F5A8A #8A4F5A
tetradic
#5A8A4F #4F778A #7F4F8A #8A624F
square
#5A8A4F #4F778A #7F4F8A #8A624F
split-complementary
#5A8A4F #624F8A #8A4F77
monochromatic
#273C22 #416339 #5A8A4F #77AB6C #9BC193

Accessibility & contrast

On white

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

On black

5.18
#5A8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A4F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A4F#FFFFFF#000000##000000
##5A8A4F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814B
Deuteranopia (green-blind)
#867C53
Tritanopia (blue-blind)
#57867C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a8a4f;
/* rgb */ color: rgb(90, 138, 79);
/* oklch */ color: oklch(58.4% 0.101 139.9);
Tailwind
colors: {
  custom: {
    50: '#8bac81',
    500: '#5a8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a4f;
$custom-light: #8bac81;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a4f",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 108.814,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.1012,
    "h": 139.9
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#5A8A4F
secondary
#A687AE
accent
#64C4B2
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5A8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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