#517119#517119

#517119 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.119 H 127.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#517119
RGBrgb(81, 113, 25)
HSLhsl(82, 64%, 27%)
HSVhsv(82, 78%, 44%)
CMYKcmyk(28.3%, 0%, 77.9%, 55.7%)
CIE-LABlab(43.70, -25.49, 42.18)
CIE-LCHlch(43.70, 49.28, 121.14°)
OKLaboklab(50.6% -0.0731 0.0939)
OKLCHoklch(50.6% 0.119 127.9)
XYZxyz(9.4739, 13.6296, 3.0511)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517119 #391971
analogous
#716519 #517119 #257119
triadic
#517119 #195171 #711951
tetradic
#517119 #197165 #391971 #711925
square
#517119 #197165 #391971 #711925
split-complementary
#517119 #192571 #651971
monochromatic
#121906 #2D3F0E #517119 #75A324 #98D233

Accessibility & contrast

On white

5.64
#517119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#517119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517119
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517119#FFFFFF#000000##FFFFFF
##5171191.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#546C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517119;
/* rgb */ color: rgb(81, 113, 25);
/* oklch */ color: oklch(50.6% 0.119 127.9);
Tailwind
colors: {
  custom: {
    50: '#859a5d',
    500: '#517119',
    950: '#000000',
  },
}
SCSS
$custom: #517119;
$custom-light: #859a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517119",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 81.818,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50601,
    "c": 0.11899,
    "h": 127.9
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#517119
secondary
#6540A6
accent
#41E77D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517119

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

Preview Lab → · Contrast checker → · Palette generator →

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