#517628#517628

#517628 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.1% C 0.115 H 131.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#517628
RGBrgb(81, 118, 40)
HSLhsl(88, 49%, 31%)
HSVhsv(88, 66%, 46%)
CMYKcmyk(31.4%, 0%, 66.1%, 53.7%)
CIE-LABlab(45.44, -26.80, 37.64)
CIE-LCHlch(45.44, 46.21, 125.45°)
OKLaboklab(52.05% -0.0753 0.0867)
OKLCHoklch(52.05% 0.115 131)
XYZxyz(10.2547, 14.8591, 4.3349)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517628 #4D2876
analogous
#767428 #517628 #2A7628
triadic
#517628 #285176 #762851
tetradic
#517628 #287674 #4D2876 #76282A
square
#517628 #287674 #4D2876 #76282A
split-complementary
#517628 #282A76 #742876
monochromatic
#121B09 #324819 #517628 #70A437 #8FC554

Accessibility & contrast

On white

5.29
#517628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#517628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517628
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517628#FFFFFF#000000##FFFFFF
##5176281.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#537166
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #517628;
/* rgb */ color: rgb(81, 118, 40);
/* oklch */ color: oklch(52.1% 0.115 131.0);
Tailwind
colors: {
  custom: {
    50: '#859d66',
    500: '#517628',
    950: '#000000',
  },
}
SCSS
$custom: #517628;
$custom-light: #859d66;
$custom-dark: #000000;
JSON
{
  "hex": "#517628",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 88.462,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.11483,
    "h": 131
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#517628
secondary
#7B52A8
accent
#4FD990
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #517628

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

Preview Lab → · Contrast checker → · Palette generator →

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