#5D8A41#5D8A41

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

Color values

HEX#5D8A41
RGBrgb(93, 138, 65)
HSLhsl(97, 36%, 40%)
HSVhsv(97, 53%, 54%)
CMYKcmyk(32.6%, 0%, 52.9%, 45.9%)
CIE-LABlab(52.82, -29.14, 33.98)
CIE-LCHlch(52.82, 44.77, 130.62°)
OKLaboklab(58.33% -0.0805 0.0812)
OKLCHoklch(58.33% 0.114 134.8)
XYZxyz(14.5565, 20.8852, 8.2643)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A41 #6E418A
analogous
#828A41 #5D8A41 #418A49
triadic
#5D8A41 #415D8A #8A415D
tetradic
#5D8A41 #41828A #6E418A #8A4941
square
#5D8A41 #41828A #6E418A #8A4941
split-complementary
#5D8A41 #49418A #8A4182
monochromatic
#25371A #41602D #5D8A41 #7AB058 #9BC482

Accessibility & contrast

On white

4.06
#5D8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A41#FFFFFF#000000##000000
##5D8A411.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F803A
Deuteranopia (green-blind)
#887D46
Tritanopia (blue-blind)
#5D8579
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a41;
/* rgb */ color: rgb(93, 138, 65);
/* oklch */ color: oklch(58.3% 0.114 134.8);
Tailwind
colors: {
  custom: {
    50: '#8dac77',
    500: '#5d8a41',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a41;
$custom-light: #8dac77;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a41",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 96.986,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.1143,
    "h": 134.8
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#5D8A41
secondary
#9A78AE
accent
#5CCCA1
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5D8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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