#517113#517113

#517113 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.122 H 127.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#517113
RGBrgb(81, 113, 19)
HSLhsl(80, 71%, 26%)
HSVhsv(80, 83%, 44%)
CMYKcmyk(28.3%, 0%, 83.2%, 55.7%)
CIE-LABlab(43.66, -25.81, 44.21)
CIE-LCHlch(43.66, 51.20, 120.28°)
OKLaboklab(50.56% -0.0745 0.0971)
OKLCHoklch(50.56% 0.122 127.5)
XYZxyz(9.4160, 13.6064, 2.7462)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517113 #331371
analogous
#716213 #517113 #227113
triadic
#517113 #135171 #711351
tetradic
#517113 #137162 #331371 #711322
square
#517113 #137162 #331371 #711322
split-complementary
#517113 #132271 #621371
monochromatic
#131A04 #2B3D0A #517113 #77A51C #9CDA25

Accessibility & contrast

On white

5.64
#517113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#517113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517113
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517113#FFFFFF#000000##FFFFFF
##5171131.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517113;
/* rgb */ color: rgb(81, 113, 19);
/* oklch */ color: oklch(50.6% 0.122 127.5);
Tailwind
colors: {
  custom: {
    50: '#859a5a',
    500: '#517113',
    950: '#000000',
  },
}
SCSS
$custom: #517113;
$custom-light: #859a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#517113",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 80.426,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.12239,
    "h": 127.5
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#517113
secondary
#5E38A8
accent
#3AEE77
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517113

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

Preview Lab → · Contrast checker → · Palette generator →

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