#517415#517415

#517415 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.125 H 128.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#517415
RGBrgb(81, 116, 21)
HSLhsl(82, 69%, 27%)
HSVhsv(82, 82%, 45%)
CMYKcmyk(30.2%, 0%, 81.9%, 54.5%)
CIE-LABlab(44.65, -27.18, 44.48)
CIE-LCHlch(44.65, 52.13, 121.43°)
OKLaboklab(51.37% -0.078 0.098)
OKLCHoklch(51.37% 0.125 128.5)
XYZxyz(9.7741, 14.2940, 2.9534)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517415 #381574
analogous
#746815 #517415 #227415
triadic
#517415 #155174 #741551
tetradic
#517415 #157468 #381574 #741522
square
#517415 #157468 #381574 #741522
split-complementary
#517415 #152274 #681574
monochromatic
#121A05 #2D400C #517415 #75A81E #99D92B

Accessibility & contrast

On white

5.44
#517415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#517415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517415
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517415#FFFFFF#000000##FFFFFF
##5174151.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#546E62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517415;
/* rgb */ color: rgb(81, 116, 21);
/* oklch */ color: oklch(51.4% 0.125 128.5);
Tailwind
colors: {
  custom: {
    50: '#859c5b',
    500: '#517415',
    950: '#000000',
  },
}
SCSS
$custom: #517415;
$custom-light: #859c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517415",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 82.105,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.12529,
    "h": 128.5
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#517415
secondary
#643BAA
accent
#3CEC7D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517415

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

Preview Lab → · Contrast checker → · Palette generator →

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