#517E1E#517E1E

#517E1E is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.133 H 131.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#517E1E
RGBrgb(81, 126, 30)
HSLhsl(88, 62%, 31%)
HSVhsv(88, 76%, 49%)
CMYKcmyk(35.7%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.96, -31.38, 44.47)
CIE-LCHlch(47.96, 54.43, 125.21°)
OKLaboklab(54.08% -0.0887 0.0995)
OKLCHoklch(54.08% 0.133 131.7)
XYZxyz(11.0884, 16.7643, 3.8797)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E1E #4B1E7E
analogous
#7E7B1E #517E1E #217E1E
triadic
#517E1E #1E517E #7E1E51
tetradic
#517E1E #1E7E7B #4B1E7E #7E1E21
square
#517E1E #1E7E7B #4B1E7E #7E1E21
split-complementary
#517E1E #1E217E #7B1E7E
monochromatic
#111B06 #314D12 #517E1E #71AF2A #90D244

Accessibility & contrast

On white

4.82
#517E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#517E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E1E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E1E#FFFFFF#000000##FFFFFF
##517E1E1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740B
Deuteranopia (green-blind)
#7D7127
Tritanopia (blue-blind)
#52796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e1e;
/* rgb */ color: rgb(81, 126, 30);
/* oklch */ color: oklch(54.1% 0.133 131.7);
Tailwind
colors: {
  custom: {
    50: '#86a361',
    500: '#517e1e',
    950: '#000000',
  },
}
SCSS
$custom: #517e1e;
$custom-light: #86a361;
$custom-dark: #000000;
JSON
{
  "hex": "#517e1e",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 88.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.13331,
    "h": 131.7
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#517E1E
secondary
#7947B1
accent
#43E58F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #517E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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