#5F8A4E#5F8A4E

#5F8A4E is a mid, moderate green. Relative luminance 0.212; OKLCH L 58.7% C 0.099 H 137.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F8A4E
RGBrgb(95, 138, 78)
HSLhsl(103, 28%, 42%)
HSVhsv(103, 43%, 54%)
CMYKcmyk(31.2%, 0%, 43.5%, 45.9%)
CIE-LABlab(53.12, -26.65, 27.49)
CIE-LCHlch(53.12, 38.29, 134.11°)
OKLaboklab(58.67% -0.073 0.0674)
OKLCHoklch(58.67% 0.099 137.3)
XYZxyz(15.1825, 21.1593, 10.4905)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8A4E #794E8A
analogous
#7D8A4E #5F8A4E #4E8A5B
triadic
#5F8A4E #4E5F8A #8A4E5F
tetradic
#5F8A4E #4E7D8A #794E8A #8A5B4E
square
#5F8A4E #4E7D8A #794E8A #8A5B4E
split-complementary
#5F8A4E #5B4E8A #8A4E7D
monochromatic
#293C22 #446338 #5F8A4E #7DAB6A #9FC191

Accessibility & contrast

On white

4.01
#5F8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5F8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8A4E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8A4E#FFFFFF#000000##000000
##5F8A4E1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8149
Deuteranopia (green-blind)
#877D52
Tritanopia (blue-blind)
#5D867B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f8a4e;
/* rgb */ color: rgb(95, 138, 78);
/* oklch */ color: oklch(58.7% 0.099 137.3);
Tailwind
colors: {
  custom: {
    50: '#8eac80',
    500: '#5f8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f8a4e;
$custom-light: #8eac80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8a4e",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 103,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.09931,
    "h": 137.3
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#5F8A4E
secondary
#A286AE
accent
#64C4A9
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5F8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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