#517919#517919

#517919 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.130 H 130.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#517919
RGBrgb(81, 121, 25)
HSLhsl(85, 66%, 29%)
HSVhsv(85, 79%, 47%)
CMYKcmyk(33.1%, 0%, 79.3%, 52.5%)
CIE-LABlab(46.30, -29.35, 44.68)
CIE-LCHlch(46.30, 53.46, 123.31°)
OKLaboklab(52.72% -0.0836 0.0991)
OKLCHoklch(52.72% 0.13 130.1)
XYZxyz(10.4061, 15.4939, 3.3619)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517919 #411979
analogous
#797119 #517919 #217919
triadic
#517919 #195179 #791951
tetradic
#517919 #197971 #411979 #791921
square
#517919 #197971 #411979 #791921
split-complementary
#517919 #192179 #711979
monochromatic
#111905 #2F460F #517919 #73AC23 #93D637

Accessibility & contrast

On white

5.12
#517919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#517919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517919
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517919#FFFFFF#000000##FFFFFF
##5179191.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#537367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #517919;
/* rgb */ color: rgb(81, 121, 25);
/* oklch */ color: oklch(52.7% 0.130 130.1);
Tailwind
colors: {
  custom: {
    50: '#86a05e',
    500: '#517919',
    950: '#000000',
  },
}
SCSS
$custom: #517919;
$custom-light: #86a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#517919",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 85,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.12968,
    "h": 130.1
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#517919
secondary
#6E40AE
accent
#3FE986
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517919

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

Preview Lab → · Contrast checker → · Palette generator →

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