#517F1E#517F1E

#517F1E is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.135 H 131.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#517F1E
RGBrgb(81, 127, 30)
HSLhsl(88, 62%, 31%)
HSVhsv(88, 76%, 50%)
CMYKcmyk(36.2%, 0%, 76.4%, 50.2%)
CIE-LABlab(48.29, -31.85, 44.79)
CIE-LCHlch(48.29, 54.95, 125.42°)
OKLaboklab(54.35% -0.09 0.1002)
OKLCHoklch(54.35% 0.135 131.9)
XYZxyz(11.2169, 17.0214, 3.9225)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F1E #4C1E7F
analogous
#7F7C1E #517F1E #207F1E
triadic
#517F1E #1E517F #7F1E51
tetradic
#517F1E #1E7F7C #4C1E7F #7F1E20
square
#517F1E #1E7F7C #4C1E7F #7F1E20
split-complementary
#517F1E #1E207F #7C1E7F
monochromatic
#121C07 #314D12 #517F1E #71B12A #8FD344

Accessibility & contrast

On white

4.77
#517F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#517F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517F1E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F1E#FFFFFF#000000##FFFFFF
##517F1E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#527A6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517f1e;
/* rgb */ color: rgb(81, 127, 30);
/* oklch */ color: oklch(54.3% 0.135 131.9);
Tailwind
colors: {
  custom: {
    50: '#86a461',
    500: '#517f1e',
    950: '#000000',
  },
}
SCSS
$custom: #517f1e;
$custom-light: #86a461;
$custom-dark: #000000;
JSON
{
  "hex": "#517f1e",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 88.454,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.13464,
    "h": 131.9
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#517F1E
secondary
#7A47B2
accent
#43E590
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #517F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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