#517C2C#517C2C

#517C2C is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.7% C 0.120 H 133.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#517C2C
RGBrgb(81, 124, 44)
HSLhsl(92, 48%, 33%)
HSVhsv(92, 65%, 49%)
CMYKcmyk(34.7%, 0%, 64.5%, 51.4%)
CIE-LABlab(47.43, -29.31, 37.95)
CIE-LCHlch(47.43, 47.95, 127.68°)
OKLaboklab(53.68% -0.0819 0.0878)
OKLCHoklch(53.68% 0.12 133)
XYZxyz(11.0554, 16.3461, 4.9550)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517C2C #572C7C
analogous
#797C2C #517C2C #2C7C2F
triadic
#517C2C #2C517C #7C2C51
tetradic
#517C2C #2C797C #572C7C #7C2F2C
square
#517C2C #2C797C #572C7C #7C2F2C
split-complementary
#517C2C #2F2C7C #7C2C79
monochromatic
#16220C #334F1C #517C2C #6FA93C #8DC55D

Accessibility & contrast

On white

4.92
#517C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#517C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517C2C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517C2C#FFFFFF#000000##FFFFFF
##517C2C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817323
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#52776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517c2c;
/* rgb */ color: rgb(81, 124, 44);
/* oklch */ color: oklch(53.7% 0.120 133.0);
Tailwind
colors: {
  custom: {
    50: '#85a269',
    500: '#517c2c',
    950: '#000000',
  },
}
SCSS
$custom: #517c2c;
$custom-light: #85a269;
$custom-dark: #000000;
JSON
{
  "hex": "#517c2c",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 92.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.12008,
    "h": 133
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

primary
#517C2C
secondary
#8558AC
accent
#51D799
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #517C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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