#5E8752#5E8752

#5E8752 is a mid, moderate green. Relative luminance 0.203; OKLCH L 57.9% C 0.090 H 138.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5E8752
RGBrgb(94, 135, 82)
HSLhsl(106, 24%, 43%)
HSVhsv(106, 39%, 53%)
CMYKcmyk(30.4%, 0%, 39.3%, 47.1%)
CIE-LABlab(52.19, -24.92, 24.08)
CIE-LCHlch(52.19, 34.66, 135.99°)
OKLaboklab(57.92% -0.0681 0.0596)
OKLCHoklch(57.92% 0.09 138.8)
XYZxyz(14.8026, 20.3163, 11.1225)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8752 #7B5287
analogous
#798752 #5E8752 #528760
triadic
#5E8752 #525E87 #87525E
tetradic
#5E8752 #527987 #7B5287 #876052
square
#5E8752 #527987 #7B5287 #876052
split-complementary
#5E8752 #605287 #875279
monochromatic
#293B24 #43613B #5E8752 #7CA76F #9EBF95

Accessibility & contrast

On white

4.15
#5E8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5E8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8752
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8752#FFFFFF#000000##000000
##5E87521.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4E
Deuteranopia (green-blind)
#847B55
Tritanopia (blue-blind)
#5C847A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8752;
/* rgb */ color: rgb(94, 135, 82);
/* oklch */ color: oklch(57.9% 0.090 138.8);
Tailwind
colors: {
  custom: {
    50: '#8daa83',
    500: '#5e8752',
    950: '#000000',
  },
}
SCSS
$custom: #5e8752;
$custom-light: #8daa83;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8752",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 106.415,
    "s": 24.424,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.09049,
    "h": 138.8
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#5E8752
secondary
#A489AC
accent
#67C1AD
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5E8752

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

Preview Lab → · Contrast checker → · Palette generator →

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