#517C1D#517C1D

#517C1D is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.131 H 131.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#517C1D
RGBrgb(81, 124, 29)
HSLhsl(87, 62%, 30%)
HSVhsv(87, 77%, 49%)
CMYKcmyk(34.7%, 0%, 76.6%, 51.4%)
CIE-LABlab(47.30, -30.52, 44.20)
CIE-LCHlch(47.30, 53.71, 124.63°)
OKLaboklab(53.55% -0.0864 0.0988)
OKLCHoklch(53.55% 0.131 131.2)
XYZxyz(10.8227, 16.2529, 3.7291)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517C1D #481D7C
analogous
#7C781D #517C1D #217C1D
triadic
#517C1D #1D517C #7C1D51
tetradic
#517C1D #1D7C78 #481D7C #7C1D21
square
#517C1D #1D7C78 #481D7C #7C1D21
split-complementary
#517C1D #1D217C #781D7C
monochromatic
#101906 #314A11 #517C1D #71AE29 #91D341

Accessibility & contrast

On white

4.94
#517C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#517C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517C1D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517C1D#FFFFFF#000000##FFFFFF
##517C1D1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720A
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#53776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517c1d;
/* rgb */ color: rgb(81, 124, 29);
/* oklch */ color: oklch(53.5% 0.131 131.2);
Tailwind
colors: {
  custom: {
    50: '#86a260',
    500: '#517c1d',
    950: '#000000',
  },
}
SCSS
$custom: #517c1d;
$custom-light: #86a260;
$custom-dark: #000000;
JSON
{
  "hex": "#517c1d",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 87.158,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.13127,
    "h": 131.2
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#517C1D
secondary
#7545B0
accent
#43E58C
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #517C1D

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

Preview Lab → · Contrast checker → · Palette generator →

#517C1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva