#517717#517717

#517717 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.128 H 129.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#517717
RGBrgb(81, 119, 23)
HSLhsl(84, 68%, 28%)
HSVhsv(84, 81%, 47%)
CMYKcmyk(31.9%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.64, -28.51, 44.74)
CIE-LCHlch(45.64, 53.05, 122.51°)
OKLaboklab(52.18% -0.0815 0.0989)
OKLCHoklch(52.18% 0.128 129.5)
XYZxyz(10.1448, 15.0045, 3.1721)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517717 #3D1777
analogous
#776D17 #517717 #217717
triadic
#517717 #175177 #771751
tetradic
#517717 #17776D #3D1777 #771721
square
#517717 #17776D #3D1777 #771721
split-complementary
#517717 #172177 #6D1777
monochromatic
#111A05 #2E440D #517717 #74AA21 #95D731

Accessibility & contrast

On white

5.25
#517717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#517717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517717
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517717#FFFFFF#000000##FFFFFF
##5177171.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#547165
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #517717;
/* rgb */ color: rgb(81, 119, 23);
/* oklch */ color: oklch(52.2% 0.128 129.5);
Tailwind
colors: {
  custom: {
    50: '#869e5d',
    500: '#517717',
    950: '#000000',
  },
}
SCSS
$custom: #517717;
$custom-light: #869e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517717",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 83.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.12816,
    "h": 129.5
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#517717
secondary
#693EAC
accent
#3DEA82
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517717

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

Preview Lab → · Contrast checker → · Palette generator →

#517717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva