#516112#516112

#516112 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.102 H 120.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#516112
RGBrgb(81, 97, 18)
HSLhsl(72, 69%, 23%)
HSVhsv(72, 81%, 38%)
CMYKcmyk(16.5%, 0%, 81.4%, 62%)
CIE-LABlab(38.45, -17.63, 39.75)
CIE-LCHlch(38.45, 43.48, 113.92°)
OKLaboklab(46.34% -0.0522 0.0875)
OKLCHoklch(46.34% 0.102 120.8)
XYZxyz(7.7774, 10.3424, 2.1587)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516112 #221261
analogous
#614A12 #516112 #296112
triadic
#516112 #125161 #611251
tetradic
#516112 #12614A #221261 #611229
square
#516112 #12614A #221261 #611229
split-complementary
#516112 #122961 #4A1261
monochromatic
#161A05 #262D08 #516112 #7C951C #A7C825

Accessibility & contrast

On white

6.84
#516112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516112
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516112#FFFFFF#000000##FFFFFF
##5161121.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#565B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #516112;
/* rgb */ color: rgb(81, 97, 18);
/* oklch */ color: oklch(46.3% 0.102 120.8);
Tailwind
colors: {
  custom: {
    50: '#858d57',
    500: '#516112',
    950: '#000000',
  },
}
SCSS
$custom: #516112;
$custom-light: #858d57;
$custom-dark: #000000;
JSON
{
  "hex": "#516112",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 72.152,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.10192,
    "h": 120.8
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#516112
secondary
#4A3699
accent
#3CEC60
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #516112

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

Preview Lab → · Contrast checker → · Palette generator →

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