#516D19#516D19

#516D19 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.114 H 126.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#516D19
RGBrgb(81, 109, 25)
HSLhsl(80, 63%, 26%)
HSVhsv(80, 77%, 43%)
CMYKcmyk(25.7%, 0%, 77.1%, 57.3%)
CIE-LABlab(42.39, -23.49, 40.91)
CIE-LCHlch(42.39, 47.17, 119.86°)
OKLaboklab(49.54% -0.0676 0.0912)
OKLCHoklch(49.54% 0.114 126.6)
XYZxyz(9.0375, 12.7566, 2.9057)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D19 #35196D
analogous
#6D5F19 #516D19 #276D19
triadic
#516D19 #19516D #6D1951
tetradic
#516D19 #196D5F #35196D #6D1927
square
#516D19 #196D5F #35196D #6D1927
split-complementary
#516D19 #19276D #5F196D
monochromatic
#121906 #2C3B0E #516D19 #769F24 #9BD031

Accessibility & contrast

On white

5.91
#516D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#516D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D19
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D19#FFFFFF#000000##FFFFFF
##516D191.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#55685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d19;
/* rgb */ color: rgb(81, 109, 25);
/* oklch */ color: oklch(49.5% 0.114 126.6);
Tailwind
colors: {
  custom: {
    50: '#85975c',
    500: '#516d19',
    950: '#000000',
  },
}
SCSS
$custom: #516d19;
$custom-light: #85975c;
$custom-dark: #000000;
JSON
{
  "hex": "#516d19",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 80,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.11357,
    "h": 126.6
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#516D19
secondary
#603FA2
accent
#42E679
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516D19

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

Preview Lab → · Contrast checker → · Palette generator →

#516D19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva