#516D1B#516D1B

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

Color values

HEX#516D1B
RGBrgb(81, 109, 27)
HSLhsl(80, 60%, 27%)
HSVhsv(80, 75%, 43%)
CMYKcmyk(25.7%, 0%, 75.2%, 57.3%)
CIE-LABlab(42.41, -23.36, 40.14)
CIE-LCHlch(42.41, 46.44, 120.20°)
OKLaboklab(49.56% -0.0671 0.09)
OKLCHoklch(49.56% 0.112 126.7)
XYZxyz(9.0598, 12.7656, 3.0234)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D1B #371B6D
analogous
#6D601B #516D1B #286D1B
triadic
#516D1B #1B516D #6D1B51
tetradic
#516D1B #1B6D60 #371B6D #6D1B28
square
#516D1B #1B6D60 #371B6D #6D1B28
split-complementary
#516D1B #1B286D #601B6D
monochromatic
#121906 #2D3C0F #516D1B #759E27 #99CD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #516d1b;
/* rgb */ color: rgb(81, 109, 27);
/* oklch */ color: oklch(49.6% 0.112 126.7);
Tailwind
colors: {
  custom: {
    50: '#85975d',
    500: '#516d1b',
    950: '#000000',
  },
}
SCSS
$custom: #516d1b;
$custom-light: #85975d;
$custom-dark: #000000;
JSON
{
  "hex": "#516d1b",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 80.488,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.11223,
    "h": 126.7
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#516D1B
secondary
#6342A2
accent
#44E37B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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