#516F13#516F13

#516F13 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.120 H 126.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#516F13
RGBrgb(81, 111, 19)
HSLhsl(80, 71%, 25%)
HSVhsv(80, 83%, 44%)
CMYKcmyk(27%, 0%, 82.9%, 56.5%)
CIE-LABlab(43.01, -24.82, 43.62)
CIE-LCHlch(43.01, 50.19, 119.64°)
OKLaboklab(50.03% -0.0718 0.0959)
OKLCHoklch(50.03% 0.12 126.8)
XYZxyz(9.1954, 13.1651, 2.6726)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F13 #31136F
analogous
#6F5F13 #516F13 #236F13
triadic
#516F13 #13516F #6F1351
tetradic
#516F13 #136F5F #31136F #6F1323
square
#516F13 #136F5F #31136F #6F1323
split-complementary
#516F13 #13236F #5F136F
monochromatic
#131A04 #2B3B0A #516F13 #77A31C #9DD825

Accessibility & contrast

On white

5.78
#516F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#516F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F13
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F13#FFFFFF#000000##FFFFFF
##516F131.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#55695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f13;
/* rgb */ color: rgb(81, 111, 19);
/* oklch */ color: oklch(50.0% 0.120 126.8);
Tailwind
colors: {
  custom: {
    50: '#85985a',
    500: '#516f13',
    950: '#000000',
  },
}
SCSS
$custom: #516f13;
$custom-light: #85985a;
$custom-dark: #000000;
JSON
{
  "hex": "#516f13",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 79.565,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50033,
    "c": 0.11976,
    "h": 126.8
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#516F13
secondary
#5C38A6
accent
#3AEE75
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516F13

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

Preview Lab → · Contrast checker → · Palette generator →

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