#5D8540#5D8540

#5D8540 is a mid, moderate yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.108 H 133.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5D8540
RGBrgb(93, 133, 64)
HSLhsl(95, 35%, 39%)
HSVhsv(95, 52%, 52%)
CMYKcmyk(30.1%, 0%, 51.9%, 47.8%)
CIE-LABlab(51.23, -26.84, 32.58)
CIE-LCHlch(51.23, 42.21, 129.48°)
OKLaboklab(57.04% -0.0742 0.078)
OKLCHoklch(57.04% 0.108 133.6)
XYZxyz(13.8269, 19.4719, 7.8794)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8540 #684085
analogous
#7F8540 #5D8540 #408545
triadic
#5D8540 #405D85 #85405D
tetradic
#5D8540 #407F85 #684085 #854540
square
#5D8540 #407F85 #684085 #854540
split-complementary
#5D8540 #454085 #85407F
monochromatic
#233218 #405C2C #5D8540 #7AAD55 #9AC17E

Accessibility & contrast

On white

4.29
#5D8540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5D8540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8540
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8540#FFFFFF#000000##000000
##5D85401.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#847944
Tritanopia (blue-blind)
#5D8075
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d8540;
/* rgb */ color: rgb(93, 133, 64);
/* oklch */ color: oklch(57.0% 0.108 133.6);
Tailwind
colors: {
  custom: {
    50: '#8da876',
    500: '#5d8540',
    950: '#000000',
  },
}
SCSS
$custom: #5d8540;
$custom-light: #8da876;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8540",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 94.783,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.10766,
    "h": 133.6
  },
  "luminance": 0.19472
}

Semantic roles & 50–950 ramp

primary
#5D8540
secondary
#9575AC
accent
#5DCB9D
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #5D8540

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

Preview Lab → · Contrast checker → · Palette generator →

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