#517E24#517E24

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

Color values

HEX#517E24
RGBrgb(81, 126, 36)
HSLhsl(90, 56%, 32%)
HSVhsv(90, 71%, 49%)
CMYKcmyk(35.7%, 0%, 71.4%, 50.6%)
CIE-LABlab(48.00, -30.95, 42.13)
CIE-LCHlch(48.00, 52.27, 126.31°)
OKLaboklab(54.13% -0.087 0.0955)
OKLCHoklch(54.13% 0.129 132.3)
XYZxyz(11.1725, 16.7980, 4.3224)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E24 #51247E
analogous
#7E7E24 #517E24 #247E24
triadic
#517E24 #24517E #7E2451
tetradic
#517E24 #247E7E #51247E #7E2424
square
#517E24 #247E7E #51247E #7E2424
split-complementary
#517E24 #24247E #7E247E
monochromatic
#141F09 #324E16 #517E24 #70AE32 #8ECD50

Accessibility & contrast

On white

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

On black

4.36
#517E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##517E24#FFFFFF#000000##FFFFFF
##517E241.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#52796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e24;
/* rgb */ color: rgb(81, 126, 36);
/* oklch */ color: oklch(54.1% 0.129 132.3);
Tailwind
colors: {
  custom: {
    50: '#86a364',
    500: '#517e24',
    950: '#000000',
  },
}
SCSS
$custom: #517e24;
$custom-light: #86a364;
$custom-dark: #000000;
JSON
{
  "hex": "#517e24",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 90,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.12925,
    "h": 132.3
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#517E24
secondary
#7F4EB0
accent
#49DF94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517E24

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

Preview Lab → · Contrast checker → · Palette generator →

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