#516E1B#516E1B

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

Color values

HEX#516E1B
RGBrgb(81, 110, 27)
HSLhsl(81, 61%, 27%)
HSVhsv(81, 75%, 43%)
CMYKcmyk(26.4%, 0%, 75.5%, 56.9%)
CIE-LABlab(42.73, -23.86, 40.46)
CIE-LCHlch(42.73, 46.98, 120.53°)
OKLaboklab(49.82% -0.0685 0.0906)
OKLCHoklch(49.82% 0.114 127.1)
XYZxyz(9.1671, 12.9802, 3.0591)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E1B #381B6E
analogous
#6E621B #516E1B #286E1B
triadic
#516E1B #1B516E #6E1B51
tetradic
#516E1B #1B6E62 #381B6E #6E1B28
square
#516E1B #1B6E62 #381B6E #6E1B28
split-complementary
#516E1B #1B286E #621B6E
monochromatic
#121906 #2D3D0F #516E1B #759F27 #99CE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516E1B#FFFFFF#000000##FFFFFF
##516E1B1.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)
#74660C
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e1b;
/* rgb */ color: rgb(81, 110, 27);
/* oklch */ color: oklch(49.8% 0.114 127.1);
Tailwind
colors: {
  custom: {
    50: '#85975e',
    500: '#516e1b',
    950: '#000000',
  },
}
SCSS
$custom: #516e1b;
$custom-light: #85975e;
$custom-dark: #000000;
JSON
{
  "hex": "#516e1b",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 80.964,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.1136,
    "h": 127.1
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#516E1B
secondary
#6442A3
accent
#44E47C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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