#5D8A42#5D8A42

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

Color values

HEX#5D8A42
RGBrgb(93, 138, 66)
HSLhsl(98, 35%, 40%)
HSVhsv(98, 52%, 54%)
CMYKcmyk(32.6%, 0%, 52.2%, 45.9%)
CIE-LABlab(52.84, -29.02, 33.48)
CIE-LCHlch(52.84, 44.31, 130.92°)
OKLaboklab(58.35% -0.0801 0.0801)
OKLCHoklch(58.35% 0.113 135)
XYZxyz(14.5857, 20.8969, 8.4182)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A42 #6F428A
analogous
#818A42 #5D8A42 #428A4B
triadic
#5D8A42 #425D8A #8A425D
tetradic
#5D8A42 #42818A #6F428A #8A4B42
square
#5D8A42 #42818A #6F428A #8A4B42
split-complementary
#5D8A42 #4B428A #8A4281
monochromatic
#25371A #41612E #5D8A42 #7AB059 #9BC483

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A42#FFFFFF#000000##000000
##5D8A421.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)
#8F813C
Deuteranopia (green-blind)
#887D47
Tritanopia (blue-blind)
#5C8579
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a42;
/* rgb */ color: rgb(93, 138, 66);
/* oklch */ color: oklch(58.3% 0.113 135.0);
Tailwind
colors: {
  custom: {
    50: '#8dac78',
    500: '#5d8a42',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a42;
$custom-light: #8dac78;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a42",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 97.5,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.11329,
    "h": 135
  },
  "luminance": 0.20897
}

Semantic roles & 50–950 ramp

primary
#5D8A42
secondary
#9B79AE
accent
#5CCBA2
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5D8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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