#517516#517516

#517516 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.126 H 128.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#517516
RGBrgb(81, 117, 22)
HSLhsl(83, 68%, 27%)
HSVhsv(83, 81%, 46%)
CMYKcmyk(30.8%, 0%, 81.2%, 54.1%)
CIE-LABlab(44.98, -27.61, 44.46)
CIE-LCHlch(44.98, 52.33, 121.84°)
OKLaboklab(51.64% -0.0791 0.0982)
OKLCHoklch(51.64% 0.126 128.9)
XYZxyz(9.8994, 14.5296, 3.0418)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517516 #3A1675
analogous
#756A16 #517516 #227516
triadic
#517516 #165175 #751651
tetradic
#517516 #16756A #3A1675 #751622
square
#517516 #16756A #3A1675 #751622
split-complementary
#517516 #162275 #6A1675
monochromatic
#121A05 #2D410C #517516 #75A920 #97D82E

Accessibility & contrast

On white

5.38
#517516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#517516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517516
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517516#FFFFFF#000000##FFFFFF
##5175161.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517516;
/* rgb */ color: rgb(81, 117, 22);
/* oklch */ color: oklch(51.6% 0.126 128.9);
Tailwind
colors: {
  custom: {
    50: '#869d5c',
    500: '#517516',
    950: '#000000',
  },
}
SCSS
$custom: #517516;
$custom-light: #869d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517516",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 82.737,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51641,
    "c": 0.12606,
    "h": 128.9
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#517516
secondary
#663CAB
accent
#3DEB7F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517516

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

Preview Lab → · Contrast checker → · Palette generator →

#517516 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva