#516D1E#516D1E

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

Color values

HEX#516D1E
RGBrgb(81, 109, 30)
HSLhsl(81, 57%, 27%)
HSVhsv(81, 72%, 43%)
CMYKcmyk(25.7%, 0%, 72.5%, 57.3%)
CIE-LABlab(42.43, -23.15, 38.92)
CIE-LCHlch(42.43, 45.28, 120.74°)
OKLaboklab(49.58% -0.0662 0.0879)
OKLCHoklch(49.58% 0.11 127)
XYZxyz(9.0963, 12.7802, 3.2156)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D1E #3A1E6D
analogous
#6D621E #516D1E #296D1E
triadic
#516D1E #1E516D #6D1E51
tetradic
#516D1E #1E6D62 #3A1E6D #6D1E29
square
#516D1E #1E6D62 #3A1E6D #6D1E29
split-complementary
#516D1E #1E296D #621E6D
monochromatic
#121807 #2D3D11 #516D1E #759D2B #97C93C

Accessibility & contrast

On white

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

On black

3.56
#516D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516D1E#FFFFFF#000000##FFFFFF
##516D1E1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736512
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#54685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d1e;
/* rgb */ color: rgb(81, 109, 30);
/* oklch */ color: oklch(49.6% 0.110 127.0);
Tailwind
colors: {
  custom: {
    50: '#85975f',
    500: '#516d1e',
    950: '#000000',
  },
}
SCSS
$custom: #516d1e;
$custom-light: #85975f;
$custom-dark: #000000;
JSON
{
  "hex": "#516d1e",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 81.266,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.11006,
    "h": 127
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#516D1E
secondary
#6645A1
accent
#48E07E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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