#516742#516742

#516742 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.6% C 0.063 H 133.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#516742
RGBrgb(81, 103, 66)
HSLhsl(96, 22%, 33%)
HSVhsv(96, 36%, 40%)
CMYKcmyk(21.4%, 0%, 35.9%, 59.6%)
CIE-LABlab(40.97, -15.75, 18.28)
CIE-LCHlch(40.97, 24.12, 130.75°)
OKLaboklab(48.55% -0.0429 0.0456)
OKLCHoklch(48.55% 0.063 133.3)
XYZxyz(9.2268, 11.8430, 6.9530)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516742 #584267
analogous
#636742 #516742 #426746
triadic
#516742 #425167 #674251
tetradic
#516742 #426367 #584267 #674642
square
#516742 #426367 #584267 #674642
split-complementary
#516742 #464267 #674263
monochromatic
#161C12 #34422A #516742 #6E8C5A #8DAA7A

Accessibility & contrast

On white

6.23
#516742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#516742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516742
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516742#FFFFFF#000000##FFFFFF
##5167421.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A623F
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#51645E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #516742;
/* rgb */ color: rgb(81, 103, 66);
/* oklch */ color: oklch(48.6% 0.063 133.3);
Tailwind
colors: {
  custom: {
    50: '#829276',
    500: '#516742',
    950: '#000000',
  },
}
SCSS
$custom: #516742;
$custom-light: #829276;
$custom-dark: #000000;
JSON
{
  "hex": "#516742",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 66
  },
  "hsl": {
    "h": 95.676,
    "s": 21.893,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.06259,
    "h": 133.3
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#516742
secondary
#866F95
accent
#69BE9C
background
#F8F9F7
surface
#EFF1ED
border
#CACBC8
text
#0A0D08
muted
#7C7E7B

Preview Lab

Preview with #516742

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

Preview Lab → · Contrast checker → · Palette generator →

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