#5D7D1D#5D7D1D

#5D7D1D is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.126 H 126.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D7D1D
RGBrgb(93, 125, 29)
HSLhsl(80, 62%, 30%)
HSVhsv(80, 77%, 49%)
CMYKcmyk(25.6%, 0%, 76.8%, 51%)
CIE-LABlab(48.36, -26.12, 45.48)
CIE-LCHlch(48.36, 52.44, 119.87°)
OKLaboklab(54.6% -0.0752 0.1012)
OKLCHoklch(54.6% 0.126 126.6)
XYZxyz(12.0696, 17.0829, 3.8236)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D1D #3D1D7D
analogous
#7D6D1D #5D7D1D #2D7D1D
triadic
#5D7D1D #1D5D7D #7D1D5D
tetradic
#5D7D1D #1D7D6D #3D1D7D #7D1D2D
square
#5D7D1D #1D7D6D #3D1D7D #7D1D2D
split-complementary
#5D7D1D #1D2D7D #6D1D7D
monochromatic
#131A06 #384B11 #5D7D1D #82AF29 #A2D341

Accessibility & contrast

On white

4.75
#5D7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D1D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D1D#FFFFFF#000000##FFFFFF
##5D7D1D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847409
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d1d;
/* rgb */ color: rgb(93, 125, 29);
/* oklch */ color: oklch(54.6% 0.126 126.6);
Tailwind
colors: {
  custom: {
    50: '#8ea261',
    500: '#5d7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d1d;
$custom-light: #8ea261;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d1d",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 80,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.12611,
    "h": 126.6
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#5D7D1D
secondary
#6945B1
accent
#42E579
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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