#517317#517317

#517317 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.123 H 128.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#517317
RGBrgb(81, 115, 23)
HSLhsl(82, 67%, 27%)
HSVhsv(82, 80%, 45%)
CMYKcmyk(29.6%, 0%, 80%, 54.9%)
CIE-LABlab(44.34, -26.58, 43.51)
CIE-LCHlch(44.34, 50.99, 121.42°)
OKLaboklab(51.12% -0.0762 0.0963)
OKLCHoklch(51.12% 0.123 128.4)
XYZxyz(9.6787, 14.0724, 3.0168)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517317 #391773
analogous
#736717 #517317 #237317
triadic
#517317 #175173 #731751
tetradic
#517317 #177367 #391773 #731723
square
#517317 #177367 #391773 #731723
split-complementary
#517317 #172373 #671773
monochromatic
#121A05 #2D400D #517317 #75A621 #98D52F

Accessibility & contrast

On white

5.51
#517317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#517317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517317
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517317#FFFFFF#000000##FFFFFF
##5173171.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#546D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517317;
/* rgb */ color: rgb(81, 115, 23);
/* oklch */ color: oklch(51.1% 0.123 128.4);
Tailwind
colors: {
  custom: {
    50: '#859b5c',
    500: '#517317',
    950: '#000000',
  },
}
SCSS
$custom: #517317;
$custom-light: #859b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517317",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 82.174,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.12286,
    "h": 128.4
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#517317
secondary
#653DA9
accent
#3EEA7E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517317

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

Preview Lab → · Contrast checker → · Palette generator →

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