#517315#517315

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

Color values

HEX#517315
RGBrgb(81, 115, 21)
HSLhsl(82, 69%, 27%)
HSVhsv(82, 82%, 45%)
CMYKcmyk(29.6%, 0%, 81.7%, 54.9%)
CIE-LABlab(44.33, -26.69, 44.18)
CIE-LCHlch(44.33, 51.62, 121.14°)
OKLaboklab(51.1% -0.0767 0.0974)
OKLCHoklch(51.1% 0.124 128.2)
XYZxyz(9.6594, 14.0647, 2.9152)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517315 #371573
analogous
#736615 #517315 #227315
triadic
#517315 #155173 #731551
tetradic
#517315 #157366 #371573 #731522
square
#517315 #157366 #371573 #731522
split-complementary
#517315 #152273 #661573
monochromatic
#121A05 #2D3F0C #517315 #75A71E #99D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #517315;
/* rgb */ color: rgb(81, 115, 21);
/* oklch */ color: oklch(51.1% 0.124 128.2);
Tailwind
colors: {
  custom: {
    50: '#859b5b',
    500: '#517315',
    950: '#000000',
  },
}
SCSS
$custom: #517315;
$custom-light: #859b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517315",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 81.702,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.12397,
    "h": 128.2
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#517315
secondary
#633BA9
accent
#3CEC7C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517315

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

Preview Lab → · Contrast checker → · Palette generator →

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