#5D7517#5D7517

#5D7517 is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.119 H 123.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D7517
RGBrgb(93, 117, 23)
HSLhsl(75, 67%, 27%)
HSVhsv(75, 80%, 46%)
CMYKcmyk(20.5%, 0%, 80.3%, 54.1%)
CIE-LABlab(45.79, -22.44, 45.16)
CIE-LCHlch(45.79, 50.42, 116.42°)
OKLaboklab(52.5% -0.0657 0.0995)
OKLCHoklch(52.5% 0.119 123.4)
XYZxyz(11.0303, 15.1115, 3.1462)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7517 #2F1775
analogous
#755E17 #5D7517 #2E7517
triadic
#5D7517 #175D75 #75175D
tetradic
#5D7517 #17755E #2F1775 #75172E
square
#5D7517 #17755E #2F1775 #75172E
split-complementary
#5D7517 #172E75 #5E1775
monochromatic
#141A05 #34420D #5D7517 #86A821 #ACD630

Accessibility & contrast

On white

5.22
#5D7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7517
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7517#FFFFFF#000000##FFFFFF
##5D75171.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7517;
/* rgb */ color: rgb(93, 117, 23);
/* oklch */ color: oklch(52.5% 0.119 123.4);
Tailwind
colors: {
  custom: {
    50: '#8e9c5d',
    500: '#5d7517',
    950: '#000000',
  },
}
SCSS
$custom: #5d7517;
$custom-light: #8e9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7517",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 75.319,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.11921,
    "h": 123.4
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#5D7517
secondary
#593DAA
accent
#3EEA6A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7517

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

Preview Lab → · Contrast checker → · Palette generator →

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