#5E8152#5E8152

#5E8152 is a mid, moderate green. Relative luminance 0.187; OKLCH L 56.4% C 0.080 H 137.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E8152
RGBrgb(94, 129, 82)
HSLhsl(105, 22%, 41%)
HSVhsv(105, 36%, 51%)
CMYKcmyk(27.1%, 0%, 36.4%, 49.4%)
CIE-LABlab(50.32, -21.88, 21.62)
CIE-LCHlch(50.32, 30.76, 135.34°)
OKLaboklab(56.41% -0.0597 0.0539)
OKLCHoklch(56.41% 0.08 137.9)
XYZxyz(13.9889, 18.6889, 10.8513)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8152 #755281
analogous
#768152 #5E8152 #52815E
triadic
#5E8152 #525E81 #81525E
tetradic
#5E8152 #527681 #755281 #815E52
square
#5E8152 #527681 #755281 #815E52
split-complementary
#5E8152 #5E5281 #815276
monochromatic
#273622 #435C3A #5E8152 #7BA36E #9DBA93

Accessibility & contrast

On white

4.43
#5E8152 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5E8152 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8152
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8152#FFFFFF#000000##000000
##5E81521.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4F
Deuteranopia (green-blind)
#7F7755
Tritanopia (blue-blind)
#5D7E75
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8152;
/* rgb */ color: rgb(94, 129, 82);
/* oklch */ color: oklch(56.4% 0.080 137.9);
Tailwind
colors: {
  custom: {
    50: '#8da583',
    500: '#5e8152',
    950: '#000000',
  },
}
SCSS
$custom: #5e8152;
$custom-light: #8da583;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8152",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 104.681,
    "s": 22.275,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.08041,
    "h": 137.9
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

primary
#5E8152
secondary
#9F87A8
accent
#69BFA9
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #5E8152

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

Preview Lab → · Contrast checker → · Palette generator →

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