#517915#517915

#517915 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.132 H 129.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#517915
RGBrgb(81, 121, 21)
HSLhsl(84, 70%, 28%)
HSVhsv(84, 83%, 47%)
CMYKcmyk(33.1%, 0%, 82.6%, 52.5%)
CIE-LABlab(46.28, -29.57, 45.98)
CIE-LCHlch(46.28, 54.67, 122.74°)
OKLaboklab(52.7% -0.0845 0.1012)
OKLCHoklch(52.7% 0.132 129.9)
XYZxyz(10.3660, 15.4779, 3.1507)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517915 #3D1579
analogous
#796F15 #517915 #1F7915
triadic
#517915 #155179 #791551
tetradic
#517915 #15796F #3D1579 #79151F
square
#517915 #15796F #3D1579 #79151F
split-complementary
#517915 #151F79 #6F1579
monochromatic
#111A05 #2E450C #517915 #74AD1E #95DB2E

Accessibility & contrast

On white

5.13
#517915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#517915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517915
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517915#FFFFFF#000000##FFFFFF
##5179151.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#537367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #517915;
/* rgb */ color: rgb(81, 121, 21);
/* oklch */ color: oklch(52.7% 0.132 129.9);
Tailwind
colors: {
  custom: {
    50: '#86a05c',
    500: '#517915',
    950: '#000000',
  },
}
SCSS
$custom: #517915;
$custom-light: #86a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#517915",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 84,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.13182,
    "h": 129.9
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#517915
secondary
#693BAF
accent
#3BED82
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517915

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

Preview Lab → · Contrast checker → · Palette generator →

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