#516813#516813

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

Color values

HEX#516813
RGBrgb(81, 104, 19)
HSLhsl(76, 69%, 24%)
HSVhsv(76, 82%, 41%)
CMYKcmyk(22.1%, 0%, 81.7%, 59.2%)
CIE-LABlab(40.73, -21.27, 41.52)
CIE-LCHlch(40.73, 46.65, 117.13°)
OKLaboklab(48.18% -0.0621 0.0914)
OKLCHoklch(48.18% 0.111 124.2)
XYZxyz(8.4613, 11.6969, 2.4279)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516813 #2A1368
analogous
#685513 #516813 #276813
triadic
#516813 #135168 #681351
tetradic
#516813 #136855 #2A1368 #681327
square
#516813 #136855 #2A1368 #681327
split-complementary
#516813 #132768 #551368
monochromatic
#141A05 #29340A #516813 #799C1C #A2CF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516813#FFFFFF#000000##FFFFFF
##5168131.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)
#6B601B
Tritanopia (blue-blind)
#556258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #516813;
/* rgb */ color: rgb(81, 104, 19);
/* oklch */ color: oklch(48.2% 0.111 124.2);
Tailwind
colors: {
  custom: {
    50: '#859359',
    500: '#516813',
    950: '#000000',
  },
}
SCSS
$custom: #516813;
$custom-light: #859359;
$custom-dark: #000000;
JSON
{
  "hex": "#516813",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 76.235,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.11054,
    "h": 124.2
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#516813
secondary
#54379F
accent
#3CEC6C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516813

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

Preview Lab → · Contrast checker → · Palette generator →

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