#517617#517617

#517617 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.127 H 129.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#517617
RGBrgb(81, 118, 23)
HSLhsl(83, 67%, 28%)
HSVhsv(83, 81%, 46%)
CMYKcmyk(31.4%, 0%, 80.5%, 53.7%)
CIE-LABlab(45.31, -28.04, 44.43)
CIE-LCHlch(45.31, 52.54, 122.25°)
OKLaboklab(51.91% -0.0802 0.0983)
OKLCHoklch(51.91% 0.127 129.2)
XYZxyz(10.0264, 14.7678, 3.1326)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517617 #3C1776
analogous
#766B17 #517617 #227617
triadic
#517617 #175176 #761751
tetradic
#517617 #17766B #3C1776 #761722
square
#517617 #17766B #3C1776 #761722
split-complementary
#517617 #172276 #6B1776
monochromatic
#121A05 #2E430D #517617 #74A921 #96D731

Accessibility & contrast

On white

5.31
#517617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#517617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517617
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517617#FFFFFF#000000##FFFFFF
##5176171.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#547064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #517617;
/* rgb */ color: rgb(81, 118, 23);
/* oklch */ color: oklch(51.9% 0.127 129.2);
Tailwind
colors: {
  custom: {
    50: '#869d5d',
    500: '#517617',
    950: '#000000',
  },
}
SCSS
$custom: #517617;
$custom-light: #869d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517617",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 83.368,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.12684,
    "h": 129.2
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#517617
secondary
#683EAB
accent
#3EEA81
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517617

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

Preview Lab → · Contrast checker → · Palette generator →

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