#5D7D17#5D7D17

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

Color values

HEX#5D7D17
RGBrgb(93, 125, 23)
HSLhsl(79, 69%, 29%)
HSVhsv(79, 82%, 49%)
CMYKcmyk(25.6%, 0%, 81.6%, 51%)
CIE-LABlab(48.33, -26.44, 47.50)
CIE-LCHlch(48.33, 54.36, 119.10°)
OKLaboklab(54.56% -0.0766 0.1044)
OKLCHoklch(54.56% 0.13 126.3)
XYZxyz(12.0025, 17.0560, 3.4702)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D17 #37177D
analogous
#7D6A17 #5D7D17 #2A7D17
triadic
#5D7D17 #175D7D #7D175D
tetradic
#5D7D17 #177D6A #37177D #7D172A
square
#5D7D17 #177D6A #37177D #7D172A
split-complementary
#5D7D17 #172A7D #6A177D
monochromatic
#131A05 #37490D #5D7D17 #83B121 #A6DA35

Accessibility & contrast

On white

4.76
#5D7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D17
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D17#FFFFFF#000000##FFFFFF
##5D7D171.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#61776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d17;
/* rgb */ color: rgb(93, 125, 23);
/* oklch */ color: oklch(54.6% 0.130 126.3);
Tailwind
colors: {
  custom: {
    50: '#8ea25e',
    500: '#5d7d17',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d17;
$custom-light: #8ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d17",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 78.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.1295,
    "h": 126.3
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#5D7D17
secondary
#623EB2
accent
#3CEC73
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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