#516031#516031

#516031 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.4% C 0.072 H 123.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#516031
RGBrgb(81, 96, 49)
HSLhsl(79, 32%, 28%)
HSVhsv(79, 49%, 38%)
CMYKcmyk(15.6%, 0%, 49%, 62.4%)
CIE-LABlab(38.44, -14.35, 24.86)
CIE-LCHlch(38.44, 28.70, 119.99°)
OKLaboklab(46.43% -0.0399 0.0599)
OKLCHoklch(46.43% 0.072 123.7)
XYZxyz(8.1306, 10.3368, 4.4720)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516031 #403160
analogous
#605731 #516031 #396031
triadic
#516031 #315160 #603151
tetradic
#516031 #316057 #403160 #603139
square
#516031 #316057 #403160 #603139
split-complementary
#516031 #313960 #573160
monochromatic
#11140A #2F371C #516031 #738946 #94AD5E

Accessibility & contrast

On white

6.85
#516031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#516031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516031
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516031#FFFFFF#000000##FFFFFF
##5160311.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2D
Deuteranopia (green-blind)
#635A34
Tritanopia (blue-blind)
#545C55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #516031;
/* rgb */ color: rgb(81, 96, 49);
/* oklch */ color: oklch(46.4% 0.072 123.7);
Tailwind
colors: {
  custom: {
    50: '#838d6a',
    500: '#516031',
    950: '#000000',
  },
}
SCSS
$custom: #516031;
$custom-light: #838d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#516031",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 49
  },
  "hsl": {
    "h": 79.149,
    "s": 32.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.07199,
    "h": 123.7
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#516031
secondary
#6D5C91
accent
#5FC981
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #516031

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

Preview Lab → · Contrast checker → · Palette generator →

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