#516F1E#516F1E

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

Color values

HEX#516F1E
RGBrgb(81, 111, 30)
HSLhsl(82, 57%, 28%)
HSVhsv(82, 73%, 44%)
CMYKcmyk(27%, 0%, 73%, 56.5%)
CIE-LABlab(43.08, -24.16, 39.59)
CIE-LCHlch(43.08, 46.37, 121.39°)
OKLaboklab(50.11% -0.069 0.0893)
OKLCHoklch(50.11% 0.113 127.7)
XYZxyz(9.3121, 13.2118, 3.2876)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F1E #3C1E6F
analogous
#6F641E #516F1E #296F1E
triadic
#516F1E #1E516F #6F1E51
tetradic
#516F1E #1E6F64 #3C1E6F #6F1E29
square
#516F1E #1E6F64 #3C1E6F #6F1E29
split-complementary
#516F1E #1E296F #641E6F
monochromatic
#121807 #2E3F11 #516F1E #749F2B #96CB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516F1E#FFFFFF#000000##FFFFFF
##516F1E1.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)
#756711
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f1e;
/* rgb */ color: rgb(81, 111, 30);
/* oklch */ color: oklch(50.1% 0.113 127.7);
Tailwind
colors: {
  custom: {
    50: '#85985f',
    500: '#516f1e',
    950: '#000000',
  },
}
SCSS
$custom: #516f1e;
$custom-light: #85985f;
$custom-dark: #000000;
JSON
{
  "hex": "#516f1e",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 82.222,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50111,
    "c": 0.11285,
    "h": 127.7
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#516F1E
secondary
#6846A3
accent
#47E180
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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