#517515#517515

#517515 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.127 H 128.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#517515
RGBrgb(81, 117, 21)
HSLhsl(83, 70%, 27%)
HSVhsv(83, 82%, 46%)
CMYKcmyk(30.8%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.98, -27.66, 44.78)
CIE-LCHlch(44.98, 52.64, 121.70°)
OKLaboklab(51.64% -0.0793 0.0987)
OKLCHoklch(51.64% 0.127 128.8)
XYZxyz(9.8900, 14.5258, 2.9920)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517515 #391575
analogous
#756915 #517515 #217515
triadic
#517515 #155175 #751551
tetradic
#517515 #157569 #391575 #751521
square
#517515 #157569 #391575 #751521
split-complementary
#517515 #152175 #691575
monochromatic
#121A05 #2D410C #517515 #75A91E #98D92B

Accessibility & contrast

On white

5.38
#517515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#517515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517515
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517515#FFFFFF#000000##FFFFFF
##5175151.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517515;
/* rgb */ color: rgb(81, 117, 21);
/* oklch */ color: oklch(51.6% 0.127 128.8);
Tailwind
colors: {
  custom: {
    50: '#869d5c',
    500: '#517515',
    950: '#000000',
  },
}
SCSS
$custom: #517515;
$custom-light: #869d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517515",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 82.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.1266,
    "h": 128.8
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#517515
secondary
#653BAB
accent
#3BEC7E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517515

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

Preview Lab → · Contrast checker → · Palette generator →

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