#517519#517519

#517519 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.7% C 0.124 H 129.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#517519
RGBrgb(81, 117, 25)
HSLhsl(83, 65%, 28%)
HSVhsv(83, 79%, 46%)
CMYKcmyk(30.8%, 0%, 78.6%, 54.1%)
CIE-LABlab(45.00, -27.44, 43.43)
CIE-LCHlch(45.00, 51.37, 122.28°)
OKLaboklab(51.66% -0.0784 0.0965)
OKLCHoklch(51.66% 0.124 129.1)
XYZxyz(9.9301, 14.5418, 3.2032)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517519 #3D1975
analogous
#756B19 #517519 #237519
triadic
#517519 #195175 #751951
tetradic
#517519 #19756B #3D1975 #751923
square
#517519 #19756B #3D1975 #751923
split-complementary
#517519 #192375 #6B1975
monochromatic
#111905 #2E430E #517519 #74A724 #95D435

Accessibility & contrast

On white

5.37
#517519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #517519
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517519#FFFFFF#000000##FFFFFF
##5175191.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#547064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517519;
/* rgb */ color: rgb(81, 117, 25);
/* oklch */ color: oklch(51.7% 0.124 129.1);
Tailwind
colors: {
  custom: {
    50: '#859d5d',
    500: '#517519',
    950: '#000000',
  },
}
SCSS
$custom: #517519;
$custom-light: #859d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517519",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 83.478,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.12436,
    "h": 129.1
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#517519
secondary
#6940AA
accent
#40E882
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517519

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

Preview Lab → · Contrast checker → · Palette generator →

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