#517716#517716

#517716 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.129 H 129.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#517716
RGBrgb(81, 119, 22)
HSLhsl(84, 69%, 28%)
HSVhsv(84, 82%, 47%)
CMYKcmyk(31.9%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.63, -28.57, 45.06)
CIE-LCHlch(45.63, 53.36, 122.37°)
OKLaboklab(52.17% -0.0817 0.0994)
OKLCHoklch(52.17% 0.129 129.4)
XYZxyz(10.1350, 15.0006, 3.1203)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517716 #3C1677
analogous
#776C16 #517716 #217716
triadic
#517716 #165177 #771651
tetradic
#517716 #16776C #3C1677 #771621
square
#517716 #16776C #3C1677 #771621
split-complementary
#517716 #162177 #6C1677
monochromatic
#121A05 #2E430C #517716 #74AB20 #96D92F

Accessibility & contrast

On white

5.25
#517716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#517716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517716
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517716#FFFFFF#000000##FFFFFF
##5177161.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#547165
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #517716;
/* rgb */ color: rgb(81, 119, 22);
/* oklch */ color: oklch(52.2% 0.129 129.4);
Tailwind
colors: {
  custom: {
    50: '#869e5c',
    500: '#517716',
    950: '#000000',
  },
}
SCSS
$custom: #517716;
$custom-light: #869e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517716",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 83.505,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.1287,
    "h": 129.4
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#517716
secondary
#683CAC
accent
#3CEC81
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517716

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

Preview Lab → · Contrast checker → · Palette generator →

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