#516412#516412

#516412 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.1% C 0.106 H 122.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#516412
RGBrgb(81, 100, 18)
HSLhsl(74, 69%, 23%)
HSVhsv(74, 82%, 39%)
CMYKcmyk(19%, 0%, 82%, 60.8%)
CIE-LABlab(39.42, -19.23, 40.65)
CIE-LCHlch(39.42, 44.97, 115.31°)
OKLaboklab(47.13% -0.0566 0.0894)
OKLCHoklch(47.13% 0.106 122.3)
XYZxyz(8.0598, 10.9073, 2.2529)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516412 #251264
analogous
#644E12 #516412 #286412
triadic
#516412 #125164 #641251
tetradic
#516412 #12644E #251264 #641228
square
#516412 #12644E #251264 #641228
split-complementary
#516412 #122864 #4E1264
monochromatic
#151A05 #273009 #516412 #7B981B #A5CC25

Accessibility & contrast

On white

6.60
#516412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#516412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516412
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516412#FFFFFF#000000##FFFFFF
##5164121.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#565E55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #516412;
/* rgb */ color: rgb(81, 100, 18);
/* oklch */ color: oklch(47.1% 0.106 122.3);
Tailwind
colors: {
  custom: {
    50: '#859058',
    500: '#516412',
    950: '#000000',
  },
}
SCSS
$custom: #516412;
$custom-light: #859058;
$custom-dark: #000000;
JSON
{
  "hex": "#516412",
  "rgb": {
    "r": 81,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 73.902,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.10584,
    "h": 122.3
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#516412
secondary
#4E369C
accent
#3BEC64
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516412

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

Preview Lab → · Contrast checker → · Palette generator →

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