#517718#517718

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

Color values

HEX#517718
RGBrgb(81, 119, 24)
HSLhsl(84, 66%, 28%)
HSVhsv(84, 80%, 47%)
CMYKcmyk(31.9%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.65, -28.46, 44.40)
CIE-LCHlch(45.65, 52.74, 122.66°)
OKLaboklab(52.18% -0.0812 0.0984)
OKLCHoklch(52.18% 0.128 129.6)
XYZxyz(10.1550, 15.0086, 3.2259)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517718 #3E1877
analogous
#776D18 #517718 #217718
triadic
#517718 #185177 #771851
tetradic
#517718 #18776D #3E1877 #771821
square
#517718 #18776D #3E1877 #771821
split-complementary
#517718 #182177 #6D1877
monochromatic
#111905 #2E440E #517718 #74AA22 #95D633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517718#FFFFFF#000000##FFFFFF
##5177181.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)
#7D6E01
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#537165
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #517718;
/* rgb */ color: rgb(81, 119, 24);
/* oklch */ color: oklch(52.2% 0.128 129.6);
Tailwind
colors: {
  custom: {
    50: '#869e5d',
    500: '#517718',
    950: '#000000',
  },
}
SCSS
$custom: #517718;
$custom-light: #869e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517718",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 84,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.12759,
    "h": 129.6
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#517718
secondary
#6A3FAC
accent
#3EE983
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517718

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

Preview Lab → · Contrast checker → · Palette generator →

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