#516F1B#516F1B

#516F1B is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.115 H 127.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#516F1B
RGBrgb(81, 111, 27)
HSLhsl(81, 61%, 27%)
HSVhsv(81, 76%, 44%)
CMYKcmyk(27%, 0%, 75.7%, 56.5%)
CIE-LABlab(43.06, -24.36, 40.79)
CIE-LCHlch(43.06, 47.51, 120.85°)
OKLaboklab(50.09% -0.0699 0.0913)
OKLCHoklch(50.09% 0.115 127.4)
XYZxyz(9.2756, 13.1972, 3.0953)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F1B #391B6F
analogous
#6F631B #516F1B #276F1B
triadic
#516F1B #1B516F #6F1B51
tetradic
#516F1B #1B6F63 #391B6F #6F1B27
square
#516F1B #1B6F63 #391B6F #6F1B27
split-complementary
#516F1B #1B276F #631B6F
monochromatic
#121906 #2D3E0F #516F1B #75A027 #98CE36

Accessibility & contrast

On white

5.77
#516F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#516F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F1B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F1B#FFFFFF#000000##FFFFFF
##516F1B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670C
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f1b;
/* rgb */ color: rgb(81, 111, 27);
/* oklch */ color: oklch(50.1% 0.115 127.4);
Tailwind
colors: {
  custom: {
    50: '#85985e',
    500: '#516f1b',
    950: '#000000',
  },
}
SCSS
$custom: #516f1b;
$custom-light: #85985e;
$custom-dark: #000000;
JSON
{
  "hex": "#516f1b",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 81.429,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.11497,
    "h": 127.4
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#516F1B
secondary
#6542A4
accent
#44E47D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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