#5D7017#5D7017

#5D7017 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.113 H 121.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D7017
RGBrgb(93, 112, 23)
HSLhsl(73, 66%, 26%)
HSVhsv(73, 79%, 44%)
CMYKcmyk(17%, 0%, 79.5%, 56.1%)
CIE-LABlab(44.20, -19.85, 43.68)
CIE-LCHlch(44.20, 47.98, 114.44°)
OKLaboklab(51.22% -0.0586 0.0963)
OKLCHoklch(51.22% 0.113 121.3)
XYZxyz(10.4632, 13.9774, 2.9571)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7017 #2A1770
analogous
#705717 #5D7017 #317017
triadic
#5D7017 #175D70 #70175D
tetradic
#5D7017 #177057 #2A1770 #701731
square
#5D7017 #177057 #2A1770 #701731
split-complementary
#5D7017 #173170 #571770
monochromatic
#151905 #333D0D #5D7017 #87A321 #B0D42D

Accessibility & contrast

On white

5.53
#5D7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7017
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7017#FFFFFF#000000##FFFFFF
##5D70171.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#636A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d7017;
/* rgb */ color: rgb(93, 112, 23);
/* oklch */ color: oklch(51.2% 0.113 121.3);
Tailwind
colors: {
  custom: {
    50: '#8e995c',
    500: '#5d7017',
    950: '#000000',
  },
}
SCSS
$custom: #5d7017;
$custom-light: #8e995c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7017",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 72.809,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.11278,
    "h": 121.3
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#5D7017
secondary
#533DA6
accent
#3FE963
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D7017

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

Preview Lab → · Contrast checker → · Palette generator →

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