#517313#517313

#517313 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.125 H 128.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#517313
RGBrgb(81, 115, 19)
HSLhsl(81, 72%, 26%)
HSVhsv(81, 83%, 45%)
CMYKcmyk(29.6%, 0%, 83.5%, 54.9%)
CIE-LABlab(44.32, -26.79, 44.81)
CIE-LCHlch(44.32, 52.21, 120.88°)
OKLaboklab(51.09% -0.0771 0.0984)
OKLCHoklch(51.09% 0.125 128.1)
XYZxyz(9.6416, 14.0576, 2.8214)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517313 #351373
analogous
#736513 #517313 #217313
triadic
#517313 #135173 #731351
tetradic
#517313 #137365 #351373 #731321
square
#517313 #137365 #351373 #731321
split-complementary
#517313 #132173 #651373
monochromatic
#121A04 #2C3E0A #517313 #76A81C #9BDB25

Accessibility & contrast

On white

5.51
#517313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#517313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517313
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517313#FFFFFF#000000##FFFFFF
##5173131.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#546D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517313;
/* rgb */ color: rgb(81, 115, 19);
/* oklch */ color: oklch(51.1% 0.125 128.1);
Tailwind
colors: {
  custom: {
    50: '#869b5b',
    500: '#517313',
    950: '#000000',
  },
}
SCSS
$custom: #517313;
$custom-light: #869b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517313",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 81.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.12501,
    "h": 128.1
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#517313
secondary
#6038AA
accent
#39EE7A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517313

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

Preview Lab → · Contrast checker → · Palette generator →

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