#517A1D#517A1D

#517A1D is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.129 H 130.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#517A1D
RGBrgb(81, 122, 29)
HSLhsl(86, 62%, 30%)
HSVhsv(86, 76%, 48%)
CMYKcmyk(33.6%, 0%, 76.2%, 52.2%)
CIE-LABlab(46.65, -29.58, 43.56)
CIE-LCHlch(46.65, 52.65, 124.18°)
OKLaboklab(53.02% -0.0839 0.0975)
OKLCHoklch(53.02% 0.129 130.7)
XYZxyz(10.5746, 15.7567, 3.6464)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A1D #461D7A
analogous
#7A751D #517A1D #227A1D
triadic
#517A1D #1D517A #7A1D51
tetradic
#517A1D #1D7A75 #461D7A #7A1D22
square
#517A1D #1D7A75 #461D7A #7A1D22
split-complementary
#517A1D #1D227A #751D7A
monochromatic
#101906 #304911 #517A1D #72AB29 #91D240

Accessibility & contrast

On white

5.06
#517A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#517A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517A1D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A1D#FFFFFF#000000##FFFFFF
##517A1D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710B
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517a1d;
/* rgb */ color: rgb(81, 122, 29);
/* oklch */ color: oklch(53.0% 0.129 130.7);
Tailwind
colors: {
  custom: {
    50: '#86a060',
    500: '#517a1d',
    950: '#000000',
  },
}
SCSS
$custom: #517a1d;
$custom-light: #86a060;
$custom-dark: #000000;
JSON
{
  "hex": "#517a1d",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 86.452,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.12859,
    "h": 130.7
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#517A1D
secondary
#7345AE
accent
#43E58A
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #517A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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