#516012#516012

#516012 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.1% C 0.101 H 120.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#516012
RGBrgb(81, 96, 18)
HSLhsl(72, 68%, 22%)
HSVhsv(72, 81%, 38%)
CMYKcmyk(15.6%, 0%, 81.3%, 62.4%)
CIE-LABlab(38.13, -17.09, 39.45)
CIE-LCHlch(38.13, 42.99, 113.42°)
OKLaboklab(46.08% -0.0507 0.0869)
OKLCHoklch(46.08% 0.101 120.3)
XYZxyz(7.6855, 10.1588, 2.1281)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516012 #211260
analogous
#604812 #516012 #2A6012
triadic
#516012 #125160 #601251
tetradic
#516012 #126048 #211260 #60122A
square
#516012 #126048 #211260 #60122A
split-complementary
#516012 #122A60 #481260
monochromatic
#161A05 #262C08 #516012 #7C941C #A8C725

Accessibility & contrast

On white

6.93
#516012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#516012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516012
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516012#FFFFFF#000000##FFFFFF
##5160121.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #516012;
/* rgb */ color: rgb(81, 96, 18);
/* oklch */ color: oklch(46.1% 0.101 120.3);
Tailwind
colors: {
  custom: {
    50: '#858d57',
    500: '#516012',
    950: '#000000',
  },
}
SCSS
$custom: #516012;
$custom-light: #858d57;
$custom-dark: #000000;
JSON
{
  "hex": "#516012",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 71.538,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.10061,
    "h": 120.3
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#516012
secondary
#493698
accent
#3DEB5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #516012

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

Preview Lab → · Contrast checker → · Palette generator →

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