#516A12#516A12

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

Color values

HEX#516A12
RGBrgb(81, 106, 18)
HSLhsl(77, 71%, 24%)
HSVhsv(77, 83%, 42%)
CMYKcmyk(23.6%, 0%, 83%, 58.4%)
CIE-LABlab(41.38, -22.35, 42.45)
CIE-LCHlch(41.38, 47.97, 117.77°)
OKLaboklab(48.71% -0.0651 0.0932)
OKLCHoklch(48.71% 0.114 124.9)
XYZxyz(8.6566, 12.1010, 2.4518)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A12 #2B126A
analogous
#6A5712 #516A12 #256A12
triadic
#516A12 #12516A #6A1251
tetradic
#516A12 #126A57 #2B126A #6A1225
square
#516A12 #126A57 #2B126A #6A1225
split-complementary
#516A12 #12256A #57126A
monochromatic
#141A04 #293609 #516A12 #799E1B #A1D324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516A12#FFFFFF#000000##FFFFFF
##516A121.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)
#6D611B
Tritanopia (blue-blind)
#55645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a12;
/* rgb */ color: rgb(81, 106, 18);
/* oklch */ color: oklch(48.7% 0.114 124.9);
Tailwind
colors: {
  custom: {
    50: '#859459',
    500: '#516a12',
    950: '#000000',
  },
}
SCSS
$custom: #516a12;
$custom-light: #859459;
$custom-dark: #000000;
JSON
{
  "hex": "#516a12",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 77.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48705,
    "c": 0.11372,
    "h": 124.9
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#516A12
secondary
#5536A2
accent
#3AEE6D
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A12

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

Preview Lab → · Contrast checker → · Palette generator →

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