#516D1C#516D1C

#516D1C is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.112 H 126.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#516D1C
RGBrgb(81, 109, 28)
HSLhsl(81, 59%, 27%)
HSVhsv(81, 74%, 43%)
CMYKcmyk(25.7%, 0%, 74.3%, 57.3%)
CIE-LABlab(42.42, -23.29, 39.74)
CIE-LCHlch(42.42, 46.06, 120.37°)
OKLaboklab(49.57% -0.0668 0.0893)
OKLCHoklch(49.57% 0.112 126.8)
XYZxyz(9.0716, 12.7703, 3.0854)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D1C #381C6D
analogous
#6D611C #516D1C #296D1C
triadic
#516D1C #1C516D #6D1C51
tetradic
#516D1C #1C6D61 #381C6D #6D1C29
square
#516D1C #1C6D61 #381C6D #6D1C29
split-complementary
#516D1C #1C296D #611C6D
monochromatic
#121806 #2D3C0F #516D1C #759E29 #99CC38

Accessibility & contrast

On white

5.91
#516D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#516D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D1C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D1C#FFFFFF#000000##FFFFFF
##516D1C1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#54685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d1c;
/* rgb */ color: rgb(81, 109, 28);
/* oklch */ color: oklch(49.6% 0.112 126.8);
Tailwind
colors: {
  custom: {
    50: '#85975e',
    500: '#516d1c',
    950: '#000000',
  },
}
SCSS
$custom: #516d1c;
$custom-light: #85975e;
$custom-dark: #000000;
JSON
{
  "hex": "#516d1c",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 80.741,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.11153,
    "h": 126.8
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#516D1C
secondary
#6443A2
accent
#45E27C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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