#5D7D2C#5D7D2C

#5D7D2C is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.115 H 128.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5D7D2C
RGBrgb(93, 125, 44)
HSLhsl(84, 48%, 33%)
HSVhsv(84, 65%, 49%)
CMYKcmyk(25.6%, 0%, 64.8%, 51%)
CIE-LABlab(48.48, -25.01, 39.32)
CIE-LCHlch(48.48, 46.60, 122.46°)
OKLaboklab(54.73% -0.0708 0.0905)
OKLCHoklch(54.73% 0.115 128)
XYZxyz(12.3024, 17.1760, 5.0495)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D2C #4C2C7D
analogous
#7D742C #5D7D2C #347D2C
triadic
#5D7D2C #2C5D7D #7D2C5D
tetradic
#5D7D2C #2C7D74 #4C2C7D #7D2C34
square
#5D7D2C #2C7D74 #4C2C7D #7D2C34
split-complementary
#5D7D2C #2C347D #742C7D
monochromatic
#1A220C #3B501C #5D7D2C #7FAA3C #9DC65D

Accessibility & contrast

On white

4.73
#5D7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5D7D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D2C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D2C#FFFFFF#000000##FFFFFF
##5D7D2C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837522
Deuteranopia (green-blind)
#7F7232
Tritanopia (blue-blind)
#60776C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d2c;
/* rgb */ color: rgb(93, 125, 44);
/* oklch */ color: oklch(54.7% 0.115 128.0);
Tailwind
colors: {
  custom: {
    50: '#8da269',
    500: '#5d7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d2c;
$custom-light: #8da269;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d2c",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 83.704,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.11497,
    "h": 128
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#5D7D2C
secondary
#7A59AC
accent
#50D886
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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