#517136#517136

#517136 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.9% C 0.094 H 132.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#517136
RGBrgb(81, 113, 54)
HSLhsl(93, 35%, 33%)
HSVhsv(93, 52%, 44%)
CMYKcmyk(28.3%, 0%, 52.2%, 55.7%)
CIE-LABlab(43.98, -22.78, 28.89)
CIE-LCHlch(43.98, 36.80, 128.25°)
OKLaboklab(50.92% -0.0631 0.0692)
OKLCHoklch(50.92% 0.094 132.3)
XYZxyz(9.9642, 13.8256, 5.6329)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517136 #563671
analogous
#6E7136 #517136 #367138
triadic
#517136 #365171 #713651
tetradic
#517136 #366E71 #563671 #713836
square
#517136 #366E71 #563671 #713836
split-complementary
#517136 #383671 #71366E
monochromatic
#161E0E #334822 #517136 #6F9A4A #8DB86A

Accessibility & contrast

On white

5.58
#517136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#517136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517136
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517136#FFFFFF#000000##FFFFFF
##5171361.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756A31
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#526D63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #517136;
/* rgb */ color: rgb(81, 113, 54);
/* oklch */ color: oklch(50.9% 0.094 132.3);
Tailwind
colors: {
  custom: {
    50: '#839a6e',
    500: '#517136',
    950: '#000000',
  },
}
SCSS
$custom: #517136;
$custom-light: #839a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#517136",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 54
  },
  "hsl": {
    "h": 92.542,
    "s": 35.329,
    "l": 32.745
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.09364,
    "h": 132.3
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

primary
#517136
secondary
#8462A0
accent
#5CCB99
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #517136

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

Preview Lab → · Contrast checker → · Palette generator →

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