#517E2B#517E2B

#517E2B is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.2% C 0.124 H 133.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#517E2B
RGBrgb(81, 126, 43)
HSLhsl(93, 49%, 33%)
HSVhsv(93, 66%, 49%)
CMYKcmyk(35.7%, 0%, 65.9%, 50.6%)
CIE-LABlab(48.06, -30.35, 39.12)
CIE-LCHlch(48.06, 49.51, 127.81°)
OKLaboklab(54.2% -0.0848 0.0902)
OKLCHoklch(54.2% 0.124 133.3)
XYZxyz(11.2901, 16.8450, 4.9416)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E2B #582B7E
analogous
#7A7E2B #517E2B #2B7E2E
triadic
#517E2B #2B517E #7E2B51
tetradic
#517E2B #2B7A7E #582B7E #7E2E2B
square
#517E2B #2B7A7E #582B7E #7E2E2B
split-complementary
#517E2B #2E2B7E #7E2B7A
monochromatic
#16230C #34501B #517E2B #6EAC3B #8DC75C

Accessibility & contrast

On white

4.81
#517E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#517E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E2B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E2B#FFFFFF#000000##FFFFFF
##517E2B1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#51796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e2b;
/* rgb */ color: rgb(81, 126, 43);
/* oklch */ color: oklch(54.2% 0.124 133.3);
Tailwind
colors: {
  custom: {
    50: '#85a368',
    500: '#517e2b',
    950: '#000000',
  },
}
SCSS
$custom: #517e2b;
$custom-light: #85a368;
$custom-dark: #000000;
JSON
{
  "hex": "#517e2b",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 92.53,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.542,
    "c": 0.12379,
    "h": 133.3
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#517E2B
secondary
#8658AD
accent
#4FD99A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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