#516712#516712

#516712 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.110 H 123.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#516712
RGBrgb(81, 103, 18)
HSLhsl(76, 70%, 24%)
HSVhsv(76, 83%, 40%)
CMYKcmyk(21.4%, 0%, 82.5%, 59.6%)
CIE-LABlab(40.40, -20.80, 41.55)
CIE-LCHlch(40.40, 46.47, 116.59°)
OKLaboklab(47.91% -0.0609 0.0913)
OKLCHoklch(47.91% 0.11 123.7)
XYZxyz(8.3529, 11.4934, 2.3505)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516712 #281267
analogous
#675212 #516712 #266712
triadic
#516712 #125167 #671251
tetradic
#516712 #126752 #281267 #671226
square
#516712 #126752 #281267 #671226
split-complementary
#516712 #122667 #521267
monochromatic
#141A05 #283309 #516712 #7A9B1B #A3CF24

Accessibility & contrast

On white

6.37
#516712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#516712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516712
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516712#FFFFFF#000000##FFFFFF
##5167121.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#556157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #516712;
/* rgb */ color: rgb(81, 103, 18);
/* oklch */ color: oklch(47.9% 0.110 123.7);
Tailwind
colors: {
  custom: {
    50: '#859258',
    500: '#516712',
    950: '#000000',
  },
}
SCSS
$custom: #516712;
$custom-light: #859258;
$custom-dark: #000000;
JSON
{
  "hex": "#516712",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 75.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47914,
    "c": 0.10978,
    "h": 123.7
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#516712
secondary
#51369F
accent
#3BED69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #516712

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

Preview Lab → · Contrast checker → · Palette generator →

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