#517620#517620

#517620 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.0% C 0.121 H 130.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#517620
RGBrgb(81, 118, 32)
HSLhsl(86, 57%, 29%)
HSVhsv(86, 73%, 46%)
CMYKcmyk(31.4%, 0%, 72.9%, 53.7%)
CIE-LABlab(45.37, -27.46, 41.09)
CIE-LCHlch(45.37, 49.42, 123.76°)
OKLaboklab(51.98% -0.0779 0.0928)
OKLCHoklch(51.98% 0.121 130)
XYZxyz(10.1324, 14.8102, 3.6910)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517620 #452076
analogous
#767020 #517620 #267620
triadic
#517620 #205176 #762051
tetradic
#517620 #207670 #452076 #762026
square
#517620 #207670 #452076 #762026
split-complementary
#517620 #202676 #702076
monochromatic
#111807 #304613 #517620 #72A62D #92CC44

Accessibility & contrast

On white

5.30
#517620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#517620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517620
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517620#FFFFFF#000000##FFFFFF
##5176201.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#776A28
Tritanopia (blue-blind)
#537165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #517620;
/* rgb */ color: rgb(81, 118, 32);
/* oklch */ color: oklch(52.0% 0.121 130.0);
Tailwind
colors: {
  custom: {
    50: '#859d61',
    500: '#517620',
    950: '#000000',
  },
}
SCSS
$custom: #517620;
$custom-light: #859d61;
$custom-dark: #000000;
JSON
{
  "hex": "#517620",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 85.814,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.1211,
    "h": 130
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#517620
secondary
#7248A9
accent
#47E189
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517620

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

Preview Lab → · Contrast checker → · Palette generator →

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