#5D8A43#5D8A43

#5D8A43 is a mid, moderate yellow-green. Relative luminance 0.209; OKLCH L 58.4% C 0.112 H 135.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5D8A43
RGBrgb(93, 138, 67)
HSLhsl(98, 35%, 40%)
HSVhsv(98, 51%, 54%)
CMYKcmyk(32.6%, 0%, 51.4%, 45.9%)
CIE-LABlab(52.85, -28.89, 32.98)
CIE-LCHlch(52.85, 43.85, 131.22°)
OKLaboklab(58.36% -0.0797 0.0791)
OKLCHoklch(58.36% 0.112 135.2)
XYZxyz(14.6155, 20.9088, 8.5748)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A43 #70438A
analogous
#808A43 #5D8A43 #438A4C
triadic
#5D8A43 #435D8A #8A435D
tetradic
#5D8A43 #43808A #70438A #8A4C43
square
#5D8A43 #43808A #70438A #8A4C43
split-complementary
#5D8A43 #4C438A #8A4380
monochromatic
#25381B #41612F #5D8A43 #7AAF5B #9BC384

Accessibility & contrast

On white

4.05
#5D8A43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5D8A43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A43
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A43#FFFFFF#000000##000000
##5D8A431.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813D
Deuteranopia (green-blind)
#887D48
Tritanopia (blue-blind)
#5C857A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a43;
/* rgb */ color: rgb(93, 138, 67);
/* oklch */ color: oklch(58.4% 0.112 135.2);
Tailwind
colors: {
  custom: {
    50: '#8dac79',
    500: '#5d8a43',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a43;
$custom-light: #8dac79;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a43",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 67
  },
  "hsl": {
    "h": 98.028,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.11226,
    "h": 135.2
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#5D8A43
secondary
#9B7BAE
accent
#5DCBA3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5D8A43

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

Preview Lab → · Contrast checker → · Palette generator →

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