#516F1D#516F1D

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

Color values

HEX#516F1D
RGBrgb(81, 111, 29)
HSLhsl(82, 59%, 27%)
HSVhsv(82, 74%, 44%)
CMYKcmyk(27%, 0%, 73.9%, 56.5%)
CIE-LABlab(43.07, -24.23, 39.99)
CIE-LCHlch(43.07, 46.76, 121.21°)
OKLaboklab(50.1% -0.0693 0.09)
OKLCHoklch(50.1% 0.114 127.6)
XYZxyz(9.2996, 13.2067, 3.2214)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F1D #3B1D6F
analogous
#6F641D #516F1D #286F1D
triadic
#516F1D #1D516F #6F1D51
tetradic
#516F1D #1D6F64 #3B1D6F #6F1D28
square
#516F1D #1D6F64 #3B1D6F #6F1D28
split-complementary
#516F1D #1D286F #641D6F
monochromatic
#121806 #2E3E10 #516F1D #74A02A #97CC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516F1D#FFFFFF#000000##FFFFFF
##516F1D1.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)
#75670F
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f1d;
/* rgb */ color: rgb(81, 111, 29);
/* oklch */ color: oklch(50.1% 0.114 127.6);
Tailwind
colors: {
  custom: {
    50: '#85985f',
    500: '#516f1d',
    950: '#000000',
  },
}
SCSS
$custom: #516f1d;
$custom-light: #85985f;
$custom-dark: #000000;
JSON
{
  "hex": "#516f1d",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 81.951,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.11358,
    "h": 127.6
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#516F1D
secondary
#6744A3
accent
#46E27F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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