#517B1D#517B1D

#517B1D is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.130 H 131.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#517B1D
RGBrgb(81, 123, 29)
HSLhsl(87, 62%, 30%)
HSVhsv(87, 76%, 48%)
CMYKcmyk(34.1%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.98, -30.05, 43.88)
CIE-LCHlch(46.98, 53.18, 124.41°)
OKLaboklab(53.28% -0.0852 0.0981)
OKLCHoklch(53.28% 0.13 131)
XYZxyz(10.6980, 16.0036, 3.6875)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B1D #471D7B
analogous
#7B761D #517B1D #227B1D
triadic
#517B1D #1D517B #7B1D51
tetradic
#517B1D #1D7B76 #471D7B #7B1D22
square
#517B1D #1D7B76 #471D7B #7B1D22
split-complementary
#517B1D #1D227B #761D7B
monochromatic
#101906 #304911 #517B1D #72AD29 #91D240

Accessibility & contrast

On white

5.00
#517B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#517B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B1D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B1D#FFFFFF#000000##FFFFFF
##517B1D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710A
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#537669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517b1d;
/* rgb */ color: rgb(81, 123, 29);
/* oklch */ color: oklch(53.3% 0.130 131.0);
Tailwind
colors: {
  custom: {
    50: '#86a160',
    500: '#517b1d',
    950: '#000000',
  },
}
SCSS
$custom: #517b1d;
$custom-light: #86a160;
$custom-dark: #000000;
JSON
{
  "hex": "#517b1d",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 86.809,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.12994,
    "h": 131
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#517B1D
secondary
#7445AF
accent
#43E58B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #517B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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