#516C1E#516C1E

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

Color values

HEX#516C1E
RGBrgb(81, 108, 30)
HSLhsl(81, 57%, 27%)
HSVhsv(81, 72%, 42%)
CMYKcmyk(25%, 0%, 72.2%, 57.6%)
CIE-LABlab(42.10, -22.64, 38.59)
CIE-LCHlch(42.10, 44.74, 120.40°)
OKLaboklab(49.32% -0.0649 0.0872)
OKLCHoklch(49.32% 0.109 126.6)
XYZxyz(8.9903, 12.5680, 3.1803)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C1E #391E6C
analogous
#6C601E #516C1E #2A6C1E
triadic
#516C1E #1E516C #6C1E51
tetradic
#516C1E #1E6C60 #391E6C #6C1E2A
square
#516C1E #1E6C60 #391E6C #6C1E2A
split-complementary
#516C1E #1E2A6C #601E6C
monochromatic
#121807 #2D3C11 #516C1E #759C2B #98C93C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516C1E#FFFFFF#000000##FFFFFF
##516C1E1.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)
#726412
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#54675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c1e;
/* rgb */ color: rgb(81, 108, 30);
/* oklch */ color: oklch(49.3% 0.109 126.6);
Tailwind
colors: {
  custom: {
    50: '#84965f',
    500: '#516c1e',
    950: '#000000',
  },
}
SCSS
$custom: #516c1e;
$custom-light: #84965f;
$custom-dark: #000000;
JSON
{
  "hex": "#516c1e",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 80.769,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.10867,
    "h": 126.6
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#516C1E
secondary
#6545A0
accent
#48E07D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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