#5D7C17#5D7C17

#5D7C17 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.128 H 125.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5D7C17
RGBrgb(93, 124, 23)
HSLhsl(78, 69%, 29%)
HSVhsv(78, 81%, 49%)
CMYKcmyk(25%, 0%, 81.5%, 51.4%)
CIE-LABlab(48.01, -25.94, 47.21)
CIE-LCHlch(48.01, 53.87, 118.79°)
OKLaboklab(54.31% -0.0753 0.1038)
OKLCHoklch(54.31% 0.128 125.9)
XYZxyz(11.8766, 16.8041, 3.4283)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C17 #36177C
analogous
#7C6917 #5D7C17 #2B7C17
triadic
#5D7C17 #175D7C #7C175D
tetradic
#5D7C17 #177C69 #36177C #7C172B
square
#5D7C17 #177C69 #36177C #7C172B
split-complementary
#5D7C17 #172B7C #69177C
monochromatic
#131A05 #36480D #5D7C17 #84B021 #A7D934

Accessibility & contrast

On white

4.82
#5D7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5D7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7C17
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7C17#FFFFFF#000000##FFFFFF
##5D7C171.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#617669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7c17;
/* rgb */ color: rgb(93, 124, 23);
/* oklch */ color: oklch(54.3% 0.128 125.9);
Tailwind
colors: {
  custom: {
    50: '#8ea25e',
    500: '#5d7c17',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c17;
$custom-light: #8ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c17",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 78.416,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.12823,
    "h": 125.9
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#5D7C17
secondary
#613EB1
accent
#3CEC72
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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