#517615#517615

#517615 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.128 H 129.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#517615
RGBrgb(81, 118, 21)
HSLhsl(83, 70%, 27%)
HSVhsv(83, 82%, 46%)
CMYKcmyk(31.4%, 0%, 82.2%, 53.7%)
CIE-LABlab(45.30, -28.14, 45.08)
CIE-LCHlch(45.30, 53.14, 121.97°)
OKLaboklab(51.9% -0.0806 0.0993)
OKLCHoklch(51.9% 0.128 129.1)
XYZxyz(10.0071, 14.7601, 3.0311)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517615 #3A1576
analogous
#766B15 #517615 #207615
triadic
#517615 #155176 #761551
tetradic
#517615 #15766B #3A1576 #761520
square
#517615 #15766B #3A1576 #761520
split-complementary
#517615 #152076 #6B1576
monochromatic
#121A05 #2D420C #517615 #75AA1E #97D92C

Accessibility & contrast

On white

5.31
#517615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#517615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517615
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517615#FFFFFF#000000##FFFFFF
##5176151.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#547064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #517615;
/* rgb */ color: rgb(81, 118, 21);
/* oklch */ color: oklch(51.9% 0.128 129.1);
Tailwind
colors: {
  custom: {
    50: '#869d5c',
    500: '#517615',
    950: '#000000',
  },
}
SCSS
$custom: #517615;
$custom-light: #869d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517615",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 82.887,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.519,
    "c": 0.12791,
    "h": 129.1
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#517615
secondary
#663BAC
accent
#3BED7F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517615

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

Preview Lab → · Contrast checker → · Palette generator →

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