#5E8741#5E8741

#5E8741 is a mid, moderate yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.109 H 133.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E8741
RGBrgb(94, 135, 65)
HSLhsl(95, 35%, 39%)
HSVhsv(95, 52%, 53%)
CMYKcmyk(30.4%, 0%, 51.9%, 47.1%)
CIE-LABlab(51.94, -27.31, 32.92)
CIE-LCHlch(51.94, 42.78, 129.68°)
OKLaboklab(57.63% -0.0755 0.0788)
OKLCHoklch(57.63% 0.109 133.8)
XYZxyz(14.2339, 20.0888, 8.1276)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8741 #6A4187
analogous
#818741 #5E8741 #418747
triadic
#5E8741 #415E87 #87415E
tetradic
#5E8741 #418187 #6A4187 #874741
square
#5E8741 #418187 #6A4187 #874741
split-complementary
#5E8741 #474187 #874181
monochromatic
#243419 #415E2D #5E8741 #7BAE57 #9CC280

Accessibility & contrast

On white

4.19
#5E8741 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5E8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8741
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8741#FFFFFF#000000##000000
##5E87411.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#867B45
Tritanopia (blue-blind)
#5E8277
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8741;
/* rgb */ color: rgb(94, 135, 65);
/* oklch */ color: oklch(57.6% 0.109 133.8);
Tailwind
colors: {
  custom: {
    50: '#8eaa77',
    500: '#5e8741',
    950: '#000000',
  },
}
SCSS
$custom: #5e8741;
$custom-light: #8eaa77;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8741",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 95.143,
    "s": 35,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.10915,
    "h": 133.8
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#5E8741
secondary
#9677AD
accent
#5DCB9D
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5E8741

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

Preview Lab → · Contrast checker → · Palette generator →

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