#5D7E1D#5D7E1D

#5D7E1D is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.127 H 126.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D7E1D
RGBrgb(93, 126, 29)
HSLhsl(80, 63%, 30%)
HSVhsv(80, 77%, 49%)
CMYKcmyk(26.2%, 0%, 77%, 50.6%)
CIE-LABlab(48.68, -26.61, 45.79)
CIE-LCHlch(48.68, 52.95, 120.16°)
OKLaboklab(54.86% -0.0766 0.1018)
OKLCHoklch(54.86% 0.127 126.9)
XYZxyz(12.1969, 17.3373, 3.8660)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E1D #3E1D7E
analogous
#7E6E1D #5D7E1D #2D7E1D
triadic
#5D7E1D #1D5D7E #7E1D5D
tetradic
#5D7E1D #1D7E6E #3E1D7E #7E1D2D
square
#5D7E1D #1D7E6E #3E1D7E #7E1D2D
split-complementary
#5D7E1D #1D2D7E #6E1D7E
monochromatic
#141B06 #384C12 #5D7E1D #82B028 #A2D342

Accessibility & contrast

On white

4.70
#5D7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5D7E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E1D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E1D#FFFFFF#000000##FFFFFF
##5D7E1D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857508
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#61786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e1d;
/* rgb */ color: rgb(93, 126, 29);
/* oklch */ color: oklch(54.9% 0.127 126.9);
Tailwind
colors: {
  custom: {
    50: '#8ea361',
    500: '#5d7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e1d;
$custom-light: #8ea361;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e1d",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 80.412,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.12743,
    "h": 126.9
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#5D7E1D
secondary
#6A45B1
accent
#42E67A
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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