#516810#516810

#516810 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.112 H 124.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#516810
RGBrgb(81, 104, 16)
HSLhsl(76, 73%, 24%)
HSVhsv(76, 85%, 41%)
CMYKcmyk(22.1%, 0%, 84.6%, 59.2%)
CIE-LABlab(40.71, -21.42, 42.49)
CIE-LCHlch(40.71, 47.58, 116.75°)
OKLaboklab(48.17% -0.0627 0.0929)
OKLCHoklch(48.17% 0.112 124)
XYZxyz(8.4373, 11.6873, 2.3015)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516810 #271068
analogous
#685310 #516810 #256810
triadic
#516810 #105168 #681051
tetradic
#516810 #106853 #271068 #681025
square
#516810 #106853 #271068 #681025
split-complementary
#516810 #102568 #531068
monochromatic
#151B04 #283308 #516810 #7A9D18 #A4D220

Accessibility & contrast

On white

6.29
#516810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#516810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516810
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516810#FFFFFF#000000##FFFFFF
##5168101.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6B6019
Tritanopia (blue-blind)
#556258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #516810;
/* rgb */ color: rgb(81, 104, 16);
/* oklch */ color: oklch(48.2% 0.112 124.0);
Tailwind
colors: {
  custom: {
    50: '#859358',
    500: '#516810',
    950: '#000000',
  },
}
SCSS
$custom: #516810;
$custom-light: #859358;
$custom-dark: #000000;
JSON
{
  "hex": "#516810",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 75.682,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48166,
    "c": 0.11213,
    "h": 124
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#516810
secondary
#5034A0
accent
#38F068
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516810

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

Preview Lab → · Contrast checker → · Palette generator →

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