#5D8D2D#5D8D2D

#5D8D2D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.9% C 0.137 H 132.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D8D2D
RGBrgb(93, 141, 45)
HSLhsl(90, 52%, 36%)
HSVhsv(90, 68%, 55%)
CMYKcmyk(34%, 0%, 68.1%, 44.7%)
CIE-LABlab(53.56, -32.60, 44.34)
CIE-LCHlch(53.56, 55.03, 126.32°)
OKLaboklab(58.87% -0.0916 0.1013)
OKLCHoklch(58.87% 0.137 132.1)
XYZxyz(14.5125, 21.5658, 5.8801)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D2D #5D2D8D
analogous
#8D8D2D #5D8D2D #2D8D2D
triadic
#5D8D2D #2D5D8D #8D2D5D
tetradic
#5D8D2D #2D8D8D #5D2D8D #8D2D2D
square
#5D8D2D #2D8D8D #5D2D8D #8D2D2D
split-complementary
#5D8D2D #2D2D8D #8D2D8D
monochromatic
#20300F #3E5F1E #5D8D2D #7CBB3C #9ACE66

Accessibility & contrast

On white

3.95
#5D8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5D8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D2D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D2D#FFFFFF#000000##000000
##5D8D2D1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#5E8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d2d;
/* rgb */ color: rgb(93, 141, 45);
/* oklch */ color: oklch(58.9% 0.137 132.1);
Tailwind
colors: {
  custom: {
    50: '#8fae6b',
    500: '#5d8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d2d;
$custom-light: #8fae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d2d",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 90,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.13654,
    "h": 132.1
  },
  "luminance": 0.21566
}

Semantic roles & 50–950 ramp

primary
#5D8D2D
secondary
#8B61B5
accent
#4DDB94
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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