#5E985B#5E985B

#5E985B is a light, moderate green. Relative luminance 0.256; OKLCH L 62.4% C 0.108 H 143.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5E985B
RGBrgb(94, 152, 91)
HSLhsl(117, 25%, 48%)
HSVhsv(117, 40%, 60%)
CMYKcmyk(38.2%, 0%, 40.1%, 40.4%)
CIE-LABlab(57.65, -31.74, 26.27)
CIE-LCHlch(57.65, 41.20, 140.39°)
OKLaboklab(62.39% -0.0865 0.065)
OKLCHoklch(62.39% 0.108 143.1)
XYZxyz(17.7319, 25.5905, 13.9007)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E985B #955B98
analogous
#7D985B #5E985B #5B9876
triadic
#5E985B #5B5E98 #985B5E
tetradic
#5E985B #5B7D98 #955B98 #98765B
square
#5E985B #5B7D98 #955B98 #98765B
split-complementary
#5E985B #765B98 #985B7D
monochromatic
#2F4B2D #467244 #5E985B #81B27E #A6C9A5

Accessibility & contrast

On white

3.43
#5E985B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5E985B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E985B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E985B#FFFFFF#000000##000000
##5E985B1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E57
Deuteranopia (green-blind)
#92885F
Tritanopia (blue-blind)
#589589
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5e985b;
/* rgb */ color: rgb(94, 152, 91);
/* oklch */ color: oklch(62.4% 0.108 143.1);
Tailwind
colors: {
  custom: {
    50: '#8eb68a',
    500: '#5e985b',
    950: '#000000',
  },
}
SCSS
$custom: #5e985b;
$custom-light: #8eb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e985b",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 117.049,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62387,
    "c": 0.10823,
    "h": 143.1
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#5E985B
secondary
#B598B7
accent
#66C2BD
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5E985B

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

Preview Lab → · Contrast checker → · Palette generator →

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