#517520#517520

#517520 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.120 H 129.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#517520
RGBrgb(81, 117, 32)
HSLhsl(85, 57%, 29%)
HSVhsv(85, 73%, 46%)
CMYKcmyk(30.8%, 0%, 72.6%, 54.1%)
CIE-LABlab(45.05, -26.97, 40.76)
CIE-LCHlch(45.05, 48.87, 123.50°)
OKLaboklab(51.71% -0.0766 0.0921)
OKLCHoklch(51.71% 0.12 129.7)
XYZxyz(10.0153, 14.5759, 3.6520)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517520 #442075
analogous
#756F20 #517520 #277520
triadic
#517520 #205175 #752051
tetradic
#517520 #20756F #442075 #752027
square
#517520 #20756F #442075 #752027
split-complementary
#517520 #202775 #6F2075
monochromatic
#111807 #304513 #517520 #72A52D #92CC44

Accessibility & contrast

On white

5.36
#517520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#517520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517520
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517520#FFFFFF#000000##FFFFFF
##5175201.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C13
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#537064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #517520;
/* rgb */ color: rgb(81, 117, 32);
/* oklch */ color: oklch(51.7% 0.120 129.7);
Tailwind
colors: {
  custom: {
    50: '#859d61',
    500: '#517520',
    950: '#000000',
  },
}
SCSS
$custom: #517520;
$custom-light: #859d61;
$custom-dark: #000000;
JSON
{
  "hex": "#517520",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 85.412,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.11973,
    "h": 129.7
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#517520
secondary
#7148A8
accent
#47E088
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517520

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

Preview Lab → · Contrast checker → · Palette generator →

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