#5D7E2D#5D7E2D

#5D7E2D is a mid, moderate yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.116 H 128.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5D7E2D
RGBrgb(93, 126, 45)
HSLhsl(84, 47%, 34%)
HSVhsv(84, 64%, 49%)
CMYKcmyk(26.2%, 0%, 64.3%, 50.6%)
CIE-LABlab(48.81, -25.42, 39.21)
CIE-LCHlch(48.81, 46.73, 122.96°)
OKLaboklab(55% -0.0719 0.0904)
OKLCHoklch(55% 0.116 128.5)
XYZxyz(12.4487, 17.4381, 5.1921)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E2D #4E2D7E
analogous
#7E762D #5D7E2D #357E2D
triadic
#5D7E2D #2D5D7E #7E2D5D
tetradic
#5D7E2D #2D7E76 #4E2D7E #7E2D35
square
#5D7E2D #2D7E76 #4E2D7E #7E2D35
split-complementary
#5D7E2D #2D357E #762D7E
monochromatic
#1A240D #3C511D #5D7E2D #7EAB3D #9CC65F

Accessibility & contrast

On white

4.68
#5D7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5D7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E2D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E2D#FFFFFF#000000##FFFFFF
##5D7E2D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847523
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#60786D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e2d;
/* rgb */ color: rgb(93, 126, 45);
/* oklch */ color: oklch(55.0% 0.116 128.5);
Tailwind
colors: {
  custom: {
    50: '#8da36a',
    500: '#5d7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e2d;
$custom-light: #8da36a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e2d",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 84.444,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.11553,
    "h": 128.5
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#5D7E2D
secondary
#7C5AAC
accent
#51D787
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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