#517B19#517B19

#517B19 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.132 H 130.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#517B19
RGBrgb(81, 123, 25)
HSLhsl(86, 66%, 29%)
HSVhsv(86, 80%, 48%)
CMYKcmyk(34.1%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.95, -30.29, 45.29)
CIE-LCHlch(46.95, 54.49, 123.78°)
OKLaboklab(53.25% -0.0861 0.1004)
OKLCHoklch(53.25% 0.132 130.6)
XYZxyz(10.6517, 15.9851, 3.4437)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B19 #43197B
analogous
#7B7419 #517B19 #207B19
triadic
#517B19 #19517B #7B1951
tetradic
#517B19 #197B74 #43197B #7B1920
square
#517B19 #197B74 #43197B #7B1920
split-complementary
#517B19 #19207B #74197B
monochromatic
#111905 #30480F #517B19 #72AE23 #93D738

Accessibility & contrast

On white

5.00
#517B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#517B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B19
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B19#FFFFFF#000000##FFFFFF
##517B191.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#537569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517b19;
/* rgb */ color: rgb(81, 123, 25);
/* oklch */ color: oklch(53.3% 0.132 130.6);
Tailwind
colors: {
  custom: {
    50: '#86a15e',
    500: '#517b19',
    950: '#000000',
  },
}
SCSS
$custom: #517b19;
$custom-light: #86a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#517b19",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 85.714,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.13232,
    "h": 130.6
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#517B19
secondary
#7040AF
accent
#3FE988
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #517B19

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

Preview Lab → · Contrast checker → · Palette generator →

#517B19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva