#516F1C#516F1C

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

Color values

HEX#516F1C
RGBrgb(81, 111, 28)
HSLhsl(82, 60%, 27%)
HSVhsv(82, 75%, 44%)
CMYKcmyk(27%, 0%, 74.8%, 56.5%)
CIE-LABlab(43.07, -24.30, 40.39)
CIE-LCHlch(43.07, 47.14, 121.03°)
OKLaboklab(50.1% -0.0696 0.0907)
OKLCHoklch(50.1% 0.114 127.5)
XYZxyz(9.2874, 13.2019, 3.1573)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F1C #3A1C6F
analogous
#6F641C #516F1C #276F1C
triadic
#516F1C #1C516F #6F1C51
tetradic
#516F1C #1C6F64 #3A1C6F #6F1C27
square
#516F1C #1C6F64 #3A1C6F #6F1C27
split-complementary
#516F1C #1C276F #641C6F
monochromatic
#121806 #2D3E10 #516F1C #75A028 #97CD38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516F1C#FFFFFF#000000##FFFFFF
##516F1C1.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)
#75670E
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f1c;
/* rgb */ color: rgb(81, 111, 28);
/* oklch */ color: oklch(50.1% 0.114 127.5);
Tailwind
colors: {
  custom: {
    50: '#85985e',
    500: '#516f1c',
    950: '#000000',
  },
}
SCSS
$custom: #516f1c;
$custom-light: #85985e;
$custom-dark: #000000;
JSON
{
  "hex": "#516f1c",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 81.687,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.11428,
    "h": 127.5
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#516F1C
secondary
#6643A4
accent
#45E37E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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