#5D7D2B#5D7D2B

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

Color values

HEX#5D7D2B
RGBrgb(93, 125, 43)
HSLhsl(83, 49%, 33%)
HSVhsv(83, 66%, 49%)
CMYKcmyk(25.6%, 0%, 65.6%, 51%)
CIE-LABlab(48.47, -25.10, 39.77)
CIE-LCHlch(48.47, 47.03, 122.26°)
OKLaboklab(54.72% -0.0712 0.0914)
OKLCHoklch(54.72% 0.116 127.9)
XYZxyz(12.2838, 17.1686, 4.9517)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D2B #4B2B7D
analogous
#7D742B #5D7D2B #347D2B
triadic
#5D7D2B #2B5D7D #7D2B5D
tetradic
#5D7D2B #2B7D74 #4B2B7D #7D2B34
square
#5D7D2B #2B7D74 #4B2B7D #7D2B34
split-complementary
#5D7D2B #2B347D #742B7D
monochromatic
#19220C #3B4F1B #5D7D2B #7FAB3B #9DC75C

Accessibility & contrast

On white

4.74
#5D7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5D7D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D2B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D2B#FFFFFF#000000##FFFFFF
##5D7D2B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7d2b;
/* rgb */ color: rgb(93, 125, 43);
/* oklch */ color: oklch(54.7% 0.116 127.9);
Tailwind
colors: {
  custom: {
    50: '#8da268',
    500: '#5d7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d2b;
$custom-light: #8da268;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d2b",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 83.415,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.11582,
    "h": 127.9
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#5D7D2B
secondary
#7957AD
accent
#4FD885
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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