#517420#517420

#517420 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.118 H 129.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#517420
RGBrgb(81, 116, 32)
HSLhsl(85, 57%, 29%)
HSVhsv(85, 72%, 45%)
CMYKcmyk(30.2%, 0%, 72.4%, 54.5%)
CIE-LABlab(44.72, -26.49, 40.42)
CIE-LCHlch(44.72, 48.33, 123.23°)
OKLaboklab(51.45% -0.0752 0.0914)
OKLCHoklch(51.45% 0.118 129.5)
XYZxyz(9.8994, 14.3441, 3.6133)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517420 #432074
analogous
#746D20 #517420 #277420
triadic
#517420 #205174 #742051
tetradic
#517420 #20746D #432074 #742027
square
#517420 #20746D #432074 #742027
split-complementary
#517420 #202774 #6D2074
monochromatic
#111807 #304413 #517420 #72A42D #93CB43

Accessibility & contrast

On white

5.43
#517420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#517420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517420
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517420#FFFFFF#000000##FFFFFF
##5174201.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B13
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#536F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517420;
/* rgb */ color: rgb(81, 116, 32);
/* oklch */ color: oklch(51.4% 0.118 129.5);
Tailwind
colors: {
  custom: {
    50: '#859c61',
    500: '#517420',
    950: '#000000',
  },
}
SCSS
$custom: #517420;
$custom-light: #859c61;
$custom-dark: #000000;
JSON
{
  "hex": "#517420",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 85,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.11834,
    "h": 129.5
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#517420
secondary
#7048A8
accent
#48E087
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517420

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

Preview Lab → · Contrast checker → · Palette generator →

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