#516E1C#516E1C

#516E1C is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.113 H 127.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#516E1C
RGBrgb(81, 110, 28)
HSLhsl(81, 59%, 27%)
HSVhsv(81, 75%, 43%)
CMYKcmyk(26.4%, 0%, 74.5%, 56.9%)
CIE-LABlab(42.74, -23.79, 40.07)
CIE-LCHlch(42.74, 46.60, 120.70°)
OKLaboklab(49.83% -0.0682 0.09)
OKLCHoklch(49.83% 0.113 127.2)
XYZxyz(9.1789, 12.9849, 3.1211)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E1C #391C6E
analogous
#6E621C #516E1C #286E1C
triadic
#516E1C #1C516E #6E1C51
tetradic
#516E1C #1C6E62 #391C6E #6E1C28
square
#516E1C #1C6E62 #391C6E #6E1C28
split-complementary
#516E1C #1C286E #621C6E
monochromatic
#121806 #2D3D10 #516E1C #759F28 #98CC38

Accessibility & contrast

On white

5.84
#516E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#516E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E1C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E1C#FFFFFF#000000##FFFFFF
##516E1C1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e1c;
/* rgb */ color: rgb(81, 110, 28);
/* oklch */ color: oklch(49.8% 0.113 127.2);
Tailwind
colors: {
  custom: {
    50: '#85975e',
    500: '#516e1c',
    950: '#000000',
  },
}
SCSS
$custom: #516e1c;
$custom-light: #85975e;
$custom-dark: #000000;
JSON
{
  "hex": "#516e1c",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 81.22,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.1129,
    "h": 127.2
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#516E1C
secondary
#6543A3
accent
#45E37D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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