#517F2C#517F2C

#517F2C is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.5% C 0.124 H 133.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#517F2C
RGBrgb(81, 127, 44)
HSLhsl(93, 49%, 34%)
HSVhsv(93, 65%, 50%)
CMYKcmyk(36.2%, 0%, 65.4%, 50.2%)
CIE-LABlab(48.40, -30.73, 39.02)
CIE-LCHlch(48.40, 49.67, 128.22°)
OKLaboklab(54.47% -0.0858 0.0901)
OKLCHoklch(54.47% 0.124 133.6)
XYZxyz(11.4371, 17.1094, 5.0822)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F2C #5A2C7F
analogous
#7A7F2C #517F2C #2C7F30
triadic
#517F2C #2C517F #7F2C51
tetradic
#517F2C #2C7A7F #5A2C7F #7F302C
square
#517F2C #2C7A7F #5A2C7F #7F302C
split-complementary
#517F2C #302C7F #7F2C7A
monochromatic
#17240D #34521C #517F2C #6EAC3C #8DC75E

Accessibility & contrast

On white

4.75
#517F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#517F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517F2C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F2C#FFFFFF#000000##FFFFFF
##517F2C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847522
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#517A6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517f2c;
/* rgb */ color: rgb(81, 127, 44);
/* oklch */ color: oklch(54.5% 0.124 133.6);
Tailwind
colors: {
  custom: {
    50: '#85a469',
    500: '#517f2c',
    950: '#000000',
  },
}
SCSS
$custom: #517f2c;
$custom-light: #85a469;
$custom-dark: #000000;
JSON
{
  "hex": "#517f2c",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 93.253,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.12438,
    "h": 133.6
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#517F2C
secondary
#8859AD
accent
#50D89B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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