#516E1F#516E1F

#516E1F is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.111 H 127.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#516E1F
RGBrgb(81, 110, 31)
HSLhsl(82, 56%, 28%)
HSVhsv(82, 72%, 43%)
CMYKcmyk(26.4%, 0%, 71.8%, 56.9%)
CIE-LABlab(42.76, -23.58, 38.84)
CIE-LCHlch(42.76, 45.43, 121.26°)
OKLaboklab(49.86% -0.0673 0.0879)
OKLCHoklch(49.86% 0.111 127.5)
XYZxyz(9.2166, 12.9999, 3.3197)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E1F #3C1F6E
analogous
#6E631F #516E1F #2A6E1F
triadic
#516E1F #1F516E #6E1F51
tetradic
#516E1F #1F6E63 #3C1F6E #6E1F2A
square
#516E1F #1F6E63 #3C1F6E #6E1F2A
split-complementary
#516E1F #1F2A6E #631F6E
monochromatic
#121807 #2E3E12 #516E1F #749E2C #96C93F

Accessibility & contrast

On white

5.83
#516E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#516E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E1F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E1F#FFFFFF#000000##FFFFFF
##516E1F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#706426
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e1f;
/* rgb */ color: rgb(81, 110, 31);
/* oklch */ color: oklch(49.9% 0.111 127.5);
Tailwind
colors: {
  custom: {
    50: '#859760',
    500: '#516e1f',
    950: '#000000',
  },
}
SCSS
$custom: #516e1f;
$custom-light: #859760;
$custom-dark: #000000;
JSON
{
  "hex": "#516e1f",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 82.025,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.11071,
    "h": 127.5
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#516E1F
secondary
#6847A2
accent
#48DF80
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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