#5E875F#5E875F

#5E875F is a mid, moderate green. Relative luminance 0.205; OKLCH L 58.2% C 0.076 H 145.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5E875F
RGBrgb(94, 135, 95)
HSLhsl(121, 18%, 45%)
HSVhsv(121, 30%, 53%)
CMYKcmyk(30.4%, 0%, 29.6%, 47.1%)
CIE-LABlab(52.43, -22.72, 17.10)
CIE-LCHlch(52.43, 28.43, 143.04°)
OKLaboklab(58.19% -0.062 0.0433)
OKLCHoklch(58.19% 0.076 145.1)
XYZxyz(15.3450, 20.5332, 13.9790)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E875F #875E86
analogous
#72875E #5E875F #5E8773
triadic
#5E875F #5F5E87 #875F5E
tetradic
#5E875F #5E7287 #875E86 #87735E
square
#5E875F #5E7287 #875E86 #87735E
split-complementary
#5E875F #735E87 #875E72
monochromatic
#2C3F2C #456346 #5E875F #7DA57E #A2BEA2

Accessibility & contrast

On white

4.11
#5E875F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5E875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E875F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E875F#FFFFFF#000000##000000
##5E875F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805D
Deuteranopia (green-blind)
#827B61
Tritanopia (blue-blind)
#5A857C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e875f;
/* rgb */ color: rgb(94, 135, 95);
/* oklch */ color: oklch(58.2% 0.076 145.1);
Tailwind
colors: {
  custom: {
    50: '#8daa8c',
    500: '#5e875f',
    950: '#000000',
  },
}
SCSS
$custom: #5e875f;
$custom-light: #8daa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e875f",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 121.463,
    "s": 17.904,
    "l": 44.902
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.07563,
    "h": 145.1
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#5E875F
secondary
#AC95AC
accent
#6DB9BB
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5E875F

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

Preview Lab → · Contrast checker → · Palette generator →

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