#5E8A52#5E8A52

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

Color values

HEX#5E8A52
RGBrgb(94, 138, 82)
HSLhsl(107, 25%, 43%)
HSVhsv(107, 41%, 54%)
CMYKcmyk(31.9%, 0%, 40.6%, 45.9%)
CIE-LABlab(53.13, -26.42, 25.30)
CIE-LCHlch(53.13, 36.58, 136.23°)
OKLaboklab(58.68% -0.0722 0.0625)
OKLCHoklch(58.68% 0.095 139.1)
XYZxyz(15.2271, 21.1652, 11.2640)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A52 #7E528A
analogous
#7A8A52 #5E8A52 #528A62
triadic
#5E8A52 #525E8A #8A525E
tetradic
#5E8A52 #527A8A #7E528A #8A6252
square
#5E8A52 #527A8A #7E528A #8A6252
split-complementary
#5E8A52 #62528A #8A527A
monochromatic
#2A3D24 #44643B #5E8A52 #7CAA6F #9FC196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8A52#FFFFFF#000000##000000
##5E8A521.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)
#8D814E
Deuteranopia (green-blind)
#877D55
Tritanopia (blue-blind)
#5C867C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e8a52;
/* rgb */ color: rgb(94, 138, 82);
/* oklch */ color: oklch(58.7% 0.095 139.1);
Tailwind
colors: {
  custom: {
    50: '#8dac83',
    500: '#5e8a52',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a52;
$custom-light: #8dac83;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a52",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 107.143,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58676,
    "c": 0.09545,
    "h": 139.1
  },
  "luminance": 0.21166
}

Semantic roles & 50–950 ramp

primary
#5E8A52
secondary
#A68AAE
accent
#66C2AE
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5E8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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