#516A14#516A14

#516A14 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.7% C 0.113 H 125.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#516A14
RGBrgb(81, 106, 20)
HSLhsl(77, 68%, 25%)
HSVhsv(77, 81%, 42%)
CMYKcmyk(23.6%, 0%, 81.1%, 58.4%)
CIE-LABlab(41.39, -22.25, 41.78)
CIE-LCHlch(41.39, 47.34, 118.03°)
OKLaboklab(48.72% -0.0647 0.0922)
OKLCHoklch(48.72% 0.113 125.1)
XYZxyz(8.6737, 12.1078, 2.5418)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A14 #2D146A
analogous
#6A5814 #516A14 #266A14
triadic
#516A14 #14516A #6A1451
tetradic
#516A14 #146A58 #2D146A #6A1426
square
#516A14 #146A58 #2D146A #6A1426
split-complementary
#516A14 #14266A #58146A
monochromatic
#141A05 #2A370A #516A14 #789D1E #A0D127

Accessibility & contrast

On white

6.14
#516A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#516A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A14
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A14#FFFFFF#000000##FFFFFF
##516A141.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#55645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a14;
/* rgb */ color: rgb(81, 106, 20);
/* oklch */ color: oklch(48.7% 0.113 125.1);
Tailwind
colors: {
  custom: {
    50: '#85945a',
    500: '#516a14',
    950: '#000000',
  },
}
SCSS
$custom: #516a14;
$custom-light: #85945a;
$custom-dark: #000000;
JSON
{
  "hex": "#516a14",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 77.442,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48717,
    "c": 0.11261,
    "h": 125.1
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#516A14
secondary
#5739A1
accent
#3DEB6F
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A14

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

Preview Lab → · Contrast checker → · Palette generator →

#516A14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva