#517219#517219

#517219 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.120 H 128.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#517219
RGBrgb(81, 114, 25)
HSLhsl(82, 64%, 27%)
HSVhsv(82, 78%, 45%)
CMYKcmyk(28.9%, 0%, 78.1%, 55.3%)
CIE-LABlab(44.02, -25.98, 42.49)
CIE-LCHlch(44.02, 49.80, 121.44°)
OKLaboklab(50.87% -0.0744 0.0946)
OKLCHoklch(50.87% 0.12 128.2)
XYZxyz(9.5861, 13.8539, 3.0885)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517219 #3A1972
analogous
#726719 #517219 #257219
triadic
#517219 #195172 #721951
tetradic
#517219 #197267 #3A1972 #721925
square
#517219 #197267 #3A1972 #721925
split-complementary
#517219 #192572 #671972
monochromatic
#121906 #2D400E #517219 #75A424 #97D233

Accessibility & contrast

On white

5.57
#517219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#517219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517219
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517219#FFFFFF#000000##FFFFFF
##5172191.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A06
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#546D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #517219;
/* rgb */ color: rgb(81, 114, 25);
/* oklch */ color: oklch(50.9% 0.120 128.2);
Tailwind
colors: {
  custom: {
    50: '#859a5d',
    500: '#517219',
    950: '#000000',
  },
}
SCSS
$custom: #517219;
$custom-light: #859a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517219",
  "rgb": {
    "r": 81,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 82.247,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.12033,
    "h": 128.2
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#517219
secondary
#6640A7
accent
#41E77E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517219

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

Preview Lab → · Contrast checker → · Palette generator →

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