#517314#517314

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

Color values

HEX#517314
RGBrgb(81, 115, 20)
HSLhsl(81, 70%, 26%)
HSVhsv(81, 83%, 45%)
CMYKcmyk(29.6%, 0%, 82.6%, 54.9%)
CIE-LABlab(44.32, -26.74, 44.50)
CIE-LCHlch(44.32, 51.92, 121.00°)
OKLaboklab(51.1% -0.0769 0.0979)
OKLCHoklch(51.1% 0.124 128.1)
XYZxyz(9.6504, 14.0611, 2.8673)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517314 #361473
analogous
#736614 #517314 #227314
triadic
#517314 #145173 #731451
tetradic
#517314 #147366 #361473 #731422
square
#517314 #147366 #361473 #731422
split-complementary
#517314 #142273 #661473
monochromatic
#121A05 #2C3F0B #517314 #76A71D #9ADA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517314#FFFFFF#000000##FFFFFF
##5173141.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)
#74681E
Tritanopia (blue-blind)
#546D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517314;
/* rgb */ color: rgb(81, 115, 20);
/* oklch */ color: oklch(51.1% 0.124 128.1);
Tailwind
colors: {
  custom: {
    50: '#859b5b',
    500: '#517314',
    950: '#000000',
  },
}
SCSS
$custom: #517314;
$custom-light: #859b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517314",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 81.474,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51098,
    "c": 0.12449,
    "h": 128.1
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#517314
secondary
#623AA9
accent
#3BED7B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517314

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

Preview Lab → · Contrast checker → · Palette generator →

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