#5F8A6A#5F8A6A

#5F8A6A is a mid, moderate green. Relative luminance 0.216; OKLCH L 59.3% C 0.068 H 151.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5F8A6A
RGBrgb(95, 138, 106)
HSLhsl(135, 18%, 46%)
HSVhsv(135, 31%, 54%)
CMYKcmyk(31.2%, 0%, 23.2%, 45.9%)
CIE-LABlab(53.65, -21.82, 12.51)
CIE-LCHlch(53.65, 25.15, 150.18°)
OKLaboklab(59.27% -0.06 0.032)
OKLCHoklch(59.27% 0.068 151.9)
XYZxyz(16.4084, 21.6497, 16.9471)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8A6A #8A5F7F
analogous
#698A5F #5F8A6A #5F8A7F
triadic
#5F8A6A #6A5F8A #8A6A5F
tetradic
#5F8A6A #5F698A #8A5F7F #8A7F5F
square
#5F8A6A #5F698A #8A5F7F #8A7F5F
split-complementary
#5F8A6A #7F5F8A #8A5F69
monochromatic
#2D4232 #46664E #5F8A6A #7FA789 #A3C0AB

Accessibility & contrast

On white

3.94
#5F8A6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5F8A6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8A6A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8A6A#FFFFFF#000000##000000
##5F8A6A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8368
Deuteranopia (green-blind)
#837E6C
Tritanopia (blue-blind)
#588981
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f8a6a;
/* rgb */ color: rgb(95, 138, 106);
/* oklch */ color: oklch(59.3% 0.068 151.9);
Tailwind
colors: {
  custom: {
    50: '#8dac94',
    500: '#5f8a6a',
    950: '#000000',
  },
}
SCSS
$custom: #5f8a6a;
$custom-light: #8dac94;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8a6a",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 106
  },
  "hsl": {
    "h": 135.349,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.06802,
    "h": 151.9
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#5F8A6A
secondary
#AE96A8
accent
#6DA7BB
background
#F8FAF9
surface
#F0F4F1
border
#CBCECB
text
#0C100D
muted
#7D7F7E

Preview Lab

Preview with #5F8A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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