#5D7E17#5D7E17

#5D7E17 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.131 H 126.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5D7E17
RGBrgb(93, 126, 23)
HSLhsl(79, 69%, 29%)
HSVhsv(79, 82%, 49%)
CMYKcmyk(26.2%, 0%, 81.7%, 50.6%)
CIE-LABlab(48.65, -26.93, 47.80)
CIE-LCHlch(48.65, 54.86, 119.39°)
OKLaboklab(54.82% -0.0779 0.105)
OKLCHoklch(54.82% 0.131 126.6)
XYZxyz(12.1298, 17.3105, 3.5126)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E17 #38177E
analogous
#7E6C17 #5D7E17 #2A7E17
triadic
#5D7E17 #175D7E #7E175D
tetradic
#5D7E17 #177E6C #38177E #7E172A
square
#5D7E17 #177E6C #38177E #7E172A
split-complementary
#5D7E17 #172A7E #6C177E
monochromatic
#131A05 #374A0E #5D7E17 #83B220 #A5DA35

Accessibility & contrast

On white

4.71
#5D7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5D7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E17
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E17#FFFFFF#000000##FFFFFF
##5D7E171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e17;
/* rgb */ color: rgb(93, 126, 23);
/* oklch */ color: oklch(54.8% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#8ea35e',
    500: '#5d7e17',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e17;
$custom-light: #8ea35e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e17",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 79.223,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.13079,
    "h": 126.6
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#5D7E17
secondary
#633EB3
accent
#3CEC74
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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