#517D2B#517D2B

#517D2B is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.122 H 133.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#517D2B
RGBrgb(81, 125, 43)
HSLhsl(92, 49%, 33%)
HSVhsv(92, 66%, 49%)
CMYKcmyk(35.2%, 0%, 65.6%, 51%)
CIE-LABlab(47.74, -29.88, 38.76)
CIE-LCHlch(47.74, 48.94, 127.63°)
OKLaboklab(53.94% -0.0835 0.0894)
OKLCHoklch(53.94% 0.122 133.1)
XYZxyz(11.1628, 16.5905, 4.8992)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D2B #572B7D
analogous
#7A7D2B #517D2B #2B7D2E
triadic
#517D2B #2B517D #7D2B51
tetradic
#517D2B #2B7A7D #572B7D #7D2E2B
square
#517D2B #2B7A7D #572B7D #7D2E2B
split-complementary
#517D2B #2E2B7D #7D2B7A
monochromatic
#16220C #334F1B #517D2B #6FAB3B #8DC75C

Accessibility & contrast

On white

4.86
#517D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#517D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D2B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D2B#FFFFFF#000000##FFFFFF
##517D2B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#51786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517d2b;
/* rgb */ color: rgb(81, 125, 43);
/* oklch */ color: oklch(53.9% 0.122 133.1);
Tailwind
colors: {
  custom: {
    50: '#85a368',
    500: '#517d2b',
    950: '#000000',
  },
}
SCSS
$custom: #517d2b;
$custom-light: #85a368;
$custom-dark: #000000;
JSON
{
  "hex": "#517d2b",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 92.195,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.12236,
    "h": 133.1
  },
  "luminance": 0.16591
}

Semantic roles & 50–950 ramp

primary
#517D2B
secondary
#8557AD
accent
#4FD899
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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