#516D1A#516D1A

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

Color values

HEX#516D1A
RGBrgb(81, 109, 26)
HSLhsl(80, 61%, 26%)
HSVhsv(80, 76%, 43%)
CMYKcmyk(25.7%, 0%, 76.1%, 57.3%)
CIE-LABlab(42.40, -23.42, 40.53)
CIE-LCHlch(42.40, 46.81, 120.02°)
OKLaboklab(49.55% -0.0674 0.0906)
OKLCHoklch(49.55% 0.113 126.6)
XYZxyz(9.0485, 12.7610, 2.9635)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D1A #361A6D
analogous
#6D601A #516D1A #286D1A
triadic
#516D1A #1A516D #6D1A51
tetradic
#516D1A #1A6D60 #361A6D #6D1A28
square
#516D1A #1A6D60 #361A6D #6D1A28
split-complementary
#516D1A #1A286D #601A6D
monochromatic
#121906 #2C3C0E #516D1A #769E26 #9ACE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516D1A#FFFFFF#000000##FFFFFF
##516D1A1.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)
#73650B
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#54685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d1a;
/* rgb */ color: rgb(81, 109, 26);
/* oklch */ color: oklch(49.6% 0.113 126.6);
Tailwind
colors: {
  custom: {
    50: '#85975d',
    500: '#516d1a',
    950: '#000000',
  },
}
SCSS
$custom: #516d1a;
$custom-light: #85975d;
$custom-dark: #000000;
JSON
{
  "hex": "#516d1a",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 80.241,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.11291,
    "h": 126.6
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#516D1A
secondary
#6241A2
accent
#43E57A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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