#517117#517117

#517117 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.120 H 127.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#517117
RGBrgb(81, 113, 23)
HSLhsl(81, 66%, 27%)
HSVhsv(81, 80%, 44%)
CMYKcmyk(28.3%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.68, -25.60, 42.89)
CIE-LCHlch(43.68, 49.95, 120.83°)
OKLaboklab(50.59% -0.0736 0.095)
OKLCHoklch(50.59% 0.12 127.7)
XYZxyz(9.4531, 13.6212, 2.9416)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517117 #371771
analogous
#716417 #517117 #247117
triadic
#517117 #175171 #711751
tetradic
#517117 #177164 #371771 #711724
square
#517117 #177164 #371771 #711724
split-complementary
#517117 #172471 #641771
monochromatic
#121905 #2D3E0D #517117 #75A421 #99D42E

Accessibility & contrast

On white

5.64
#517117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#517117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517117
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517117#FFFFFF#000000##FFFFFF
##5171171.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#546C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517117;
/* rgb */ color: rgb(81, 113, 23);
/* oklch */ color: oklch(50.6% 0.120 127.7);
Tailwind
colors: {
  custom: {
    50: '#859a5c',
    500: '#517117',
    950: '#000000',
  },
}
SCSS
$custom: #517117;
$custom-light: #859a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517117",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 81.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.12019,
    "h": 127.7
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#517117
secondary
#633DA7
accent
#3FE97B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517117

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

Preview Lab → · Contrast checker → · Palette generator →

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