#516C1C#516C1C

#516C1C is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.110 H 126.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#516C1C
RGBrgb(81, 108, 28)
HSLhsl(80, 59%, 27%)
HSVhsv(80, 74%, 42%)
CMYKcmyk(25%, 0%, 74.1%, 57.6%)
CIE-LABlab(42.09, -22.78, 39.41)
CIE-LCHlch(42.09, 45.52, 120.03°)
OKLaboklab(49.3% -0.0654 0.0886)
OKLCHoklch(49.3% 0.11 126.4)
XYZxyz(8.9655, 12.5581, 3.0500)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C1C #371C6C
analogous
#6C5F1C #516C1C #296C1C
triadic
#516C1C #1C516C #6C1C51
tetradic
#516C1C #1C6C5F #371C6C #6C1C29
square
#516C1C #1C6C5F #371C6C #6C1C29
split-complementary
#516C1C #1C296C #5F1C6C
monochromatic
#121806 #2D3B0F #516C1C #759D29 #99CB37

Accessibility & contrast

On white

5.98
#516C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#516C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C1C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C1C#FFFFFF#000000##FFFFFF
##516C1C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640F
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#54675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c1c;
/* rgb */ color: rgb(81, 108, 28);
/* oklch */ color: oklch(49.3% 0.110 126.4);
Tailwind
colors: {
  custom: {
    50: '#85965e',
    500: '#516c1c',
    950: '#000000',
  },
}
SCSS
$custom: #516c1c;
$custom-light: #85965e;
$custom-dark: #000000;
JSON
{
  "hex": "#516c1c",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 28
  },
  "hsl": {
    "h": 80.25,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.11015,
    "h": 126.4
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#516C1C
secondary
#6343A1
accent
#46E27B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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