#517019#517019

#517019 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.118 H 127.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#517019
RGBrgb(81, 112, 25)
HSLhsl(81, 64%, 27%)
HSVhsv(81, 78%, 44%)
CMYKcmyk(27.7%, 0%, 77.7%, 56.1%)
CIE-LABlab(43.37, -24.99, 41.86)
CIE-LCHlch(43.37, 48.75, 120.84°)
OKLaboklab(50.34% -0.0717 0.0932)
OKLCHoklch(50.34% 0.118 127.6)
XYZxyz(9.3630, 13.4077, 3.0142)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517019 #381970
analogous
#706419 #517019 #267019
triadic
#517019 #195170 #701951
tetradic
#517019 #197064 #381970 #701926
square
#517019 #197064 #381970 #701926
split-complementary
#517019 #192670 #641970
monochromatic
#121906 #2D3E0E #517019 #75A224 #99D132

Accessibility & contrast

On white

5.70
#517019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#517019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517019
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517019#FFFFFF#000000##FFFFFF
##5170191.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766807
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#546B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #517019;
/* rgb */ color: rgb(81, 112, 25);
/* oklch */ color: oklch(50.3% 0.118 127.6);
Tailwind
colors: {
  custom: {
    50: '#85995d',
    500: '#517019',
    950: '#000000',
  },
}
SCSS
$custom: #517019;
$custom-light: #85995d;
$custom-dark: #000000;
JSON
{
  "hex": "#517019",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 81.379,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.11764,
    "h": 127.6
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#517019
secondary
#6440A5
accent
#41E77C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517019

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

Preview Lab → · Contrast checker → · Palette generator →

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