#517622#517622

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

Color values

HEX#517622
RGBrgb(81, 118, 34)
HSLhsl(86, 55%, 30%)
HSVhsv(86, 71%, 46%)
CMYKcmyk(31.4%, 0%, 71.2%, 53.7%)
CIE-LABlab(45.39, -27.31, 40.26)
CIE-LCHlch(45.39, 48.65, 124.15°)
OKLaboklab(52% -0.0773 0.0913)
OKLCHoklch(52% 0.12 130.2)
XYZxyz(10.1604, 14.8214, 3.8386)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517622 #472276
analogous
#767122 #517622 #277622
triadic
#517622 #225176 #762251
tetradic
#517622 #227671 #472276 #762227
square
#517622 #227671 #472276 #762227
split-complementary
#517622 #222776 #712276
monochromatic
#101807 #304614 #517622 #72A630 #91CA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517622#FFFFFF#000000##FFFFFF
##5176221.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)
#7C6D16
Deuteranopia (green-blind)
#766B29
Tritanopia (blue-blind)
#537165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #517622;
/* rgb */ color: rgb(81, 118, 34);
/* oklch */ color: oklch(52.0% 0.120 130.2);
Tailwind
colors: {
  custom: {
    50: '#859d62',
    500: '#517622',
    950: '#000000',
  },
}
SCSS
$custom: #517622;
$custom-light: #859d62;
$custom-dark: #000000;
JSON
{
  "hex": "#517622",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 86.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.11964,
    "h": 130.2
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#517622
secondary
#744BA9
accent
#49DF8B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #517622

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

Preview Lab → · Contrast checker → · Palette generator →

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