#516612#516612

#516612 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.108 H 123.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#516612
RGBrgb(81, 102, 18)
HSLhsl(75, 70%, 24%)
HSVhsv(75, 82%, 40%)
CMYKcmyk(20.6%, 0%, 82.4%, 60%)
CIE-LABlab(40.07, -20.28, 41.25)
CIE-LCHlch(40.07, 45.97, 116.18°)
OKLaboklab(47.65% -0.0595 0.0907)
OKLCHoklch(47.65% 0.108 123.3)
XYZxyz(8.2540, 11.2957, 2.3176)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516612 #271266
analogous
#665112 #516612 #276612
triadic
#516612 #125166 #661251
tetradic
#516612 #126651 #271266 #661227
square
#516612 #126651 #271266 #661227
split-complementary
#516612 #122766 #511266
monochromatic
#151A05 #283209 #516612 #7A9A1B #A4CE24

Accessibility & contrast

On white

6.44
#516612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#516612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516612
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516612#FFFFFF#000000##FFFFFF
##5166121.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#566056
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #516612;
/* rgb */ color: rgb(81, 102, 18);
/* oklch */ color: oklch(47.7% 0.108 123.3);
Tailwind
colors: {
  custom: {
    50: '#859158',
    500: '#516612',
    950: '#000000',
  },
}
SCSS
$custom: #516612;
$custom-light: #859158;
$custom-dark: #000000;
JSON
{
  "hex": "#516612",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.10846,
    "h": 123.3
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#516612
secondary
#50369E
accent
#3BED67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516612

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

Preview Lab → · Contrast checker → · Palette generator →

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