#517417#517417

#517417 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.124 H 128.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#517417
RGBrgb(81, 116, 23)
HSLhsl(83, 67%, 27%)
HSVhsv(83, 80%, 45%)
CMYKcmyk(30.2%, 0%, 80.2%, 54.5%)
CIE-LABlab(44.66, -27.07, 43.82)
CIE-LCHlch(44.66, 51.51, 121.71°)
OKLaboklab(51.38% -0.0776 0.097)
OKLCHoklch(51.38% 0.124 128.7)
XYZxyz(9.7934, 14.3017, 3.0550)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517417 #3A1774
analogous
#746917 #517417 #227417
triadic
#517417 #175174 #741751
tetradic
#517417 #177469 #3A1774 #741722
square
#517417 #177469 #3A1774 #741722
split-complementary
#517417 #172274 #691774
monochromatic
#121A05 #2D410D #517417 #75A721 #97D630

Accessibility & contrast

On white

5.44
#517417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#517417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517417
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517417#FFFFFF#000000##FFFFFF
##5174171.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#546E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517417;
/* rgb */ color: rgb(81, 116, 23);
/* oklch */ color: oklch(51.4% 0.124 128.7);
Tailwind
colors: {
  custom: {
    50: '#859c5c',
    500: '#517417',
    950: '#000000',
  },
}
SCSS
$custom: #517417;
$custom-light: #859c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517417",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 82.581,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.12419,
    "h": 128.7
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#517417
secondary
#663DA9
accent
#3EEA7F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517417

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

Preview Lab → · Contrast checker → · Palette generator →

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