#5D7417#5D7417

#5D7417 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.2% C 0.118 H 123.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5D7417
RGBrgb(93, 116, 23)
HSLhsl(75, 67%, 27%)
HSVhsv(75, 80%, 45%)
CMYKcmyk(19.8%, 0%, 80.2%, 54.5%)
CIE-LABlab(45.47, -21.92, 44.86)
CIE-LCHlch(45.47, 49.93, 116.05°)
OKLaboklab(52.25% -0.0643 0.0988)
OKLCHoklch(52.25% 0.118 123)
XYZxyz(10.9144, 14.8797, 3.1075)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7417 #2E1774
analogous
#745D17 #5D7417 #2E7417
triadic
#5D7417 #175D74 #74175D
tetradic
#5D7417 #17745D #2E1774 #74172E
square
#5D7417 #17745D #2E1774 #74172E
split-complementary
#5D7417 #172E74 #5D1774
monochromatic
#141A05 #34410D #5D7417 #86A721 #ADD630

Accessibility & contrast

On white

5.28
#5D7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7417
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7417#FFFFFF#000000##FFFFFF
##5D74171.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C01
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#626E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7417;
/* rgb */ color: rgb(93, 116, 23);
/* oklch */ color: oklch(52.2% 0.118 123.0);
Tailwind
colors: {
  custom: {
    50: '#8e9c5d',
    500: '#5d7417',
    950: '#000000',
  },
}
SCSS
$custom: #5d7417;
$custom-light: #8e9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7417",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 74.839,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.11791,
    "h": 123
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#5D7417
secondary
#583DA9
accent
#3EEA68
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7417

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

Preview Lab → · Contrast checker → · Palette generator →

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