#517616#517616

#517616 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.127 H 129.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#517616
RGBrgb(81, 118, 22)
HSLhsl(83, 69%, 27%)
HSVhsv(83, 81%, 46%)
CMYKcmyk(31.4%, 0%, 81.4%, 53.7%)
CIE-LABlab(45.31, -28.09, 44.76)
CIE-LCHlch(45.31, 52.84, 122.11°)
OKLaboklab(51.91% -0.0804 0.0988)
OKLCHoklch(51.91% 0.127 129.1)
XYZxyz(10.0166, 14.7638, 3.0809)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517616 #3B1676
analogous
#766B16 #517616 #217616
triadic
#517616 #165176 #761651
tetradic
#517616 #16766B #3B1676 #761621
square
#517616 #16766B #3B1676 #761621
split-complementary
#517616 #162176 #6B1676
monochromatic
#121A05 #2E420C #517616 #74AA20 #97D82E

Accessibility & contrast

On white

5.31
#517616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#517616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517616
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517616#FFFFFF#000000##FFFFFF
##5176161.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#547064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #517616;
/* rgb */ color: rgb(81, 118, 22);
/* oklch */ color: oklch(51.9% 0.127 129.1);
Tailwind
colors: {
  custom: {
    50: '#869d5c',
    500: '#517616',
    950: '#000000',
  },
}
SCSS
$custom: #517616;
$custom-light: #869d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#517616",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 83.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.12738,
    "h": 129.1
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#517616
secondary
#673CAC
accent
#3CEB80
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517616

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

Preview Lab → · Contrast checker → · Palette generator →

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