#516B2F#516B2F

#516B2F is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.3% C 0.092 H 128.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#516B2F
RGBrgb(81, 107, 47)
HSLhsl(86, 39%, 30%)
HSVhsv(86, 56%, 42%)
CMYKcmyk(24.3%, 0%, 56.1%, 58%)
CIE-LABlab(41.95, -20.52, 30.20)
CIE-LCHlch(41.95, 36.51, 124.20°)
OKLaboklab(49.25% -0.0574 0.0715)
OKLCHoklch(49.25% 0.092 128.8)
XYZxyz(9.1641, 12.4698, 4.6129)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B2F #492F6B
analogous
#6B672F #516B2F #336B2F
triadic
#516B2F #2F516B #6B2F51
tetradic
#516B2F #2F6B67 #492F6B #6B2F33
square
#516B2F #2F6B67 #492F6B #6B2F33
split-complementary
#516B2F #2F336B #672F6B
monochromatic
#11160A #31401C #516B2F #719642 #90B85D

Accessibility & contrast

On white

6.01
#516B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#516B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B2F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B2F#FFFFFF#000000##FFFFFF
##516B2F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706429
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#53675D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b2f;
/* rgb */ color: rgb(81, 107, 47);
/* oklch */ color: oklch(49.3% 0.092 128.8);
Tailwind
colors: {
  custom: {
    50: '#839569',
    500: '#516b2f',
    950: '#000000',
  },
}
SCSS
$custom: #516b2f;
$custom-light: #839569;
$custom-dark: #000000;
JSON
{
  "hex": "#516b2f",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 86,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.09167,
    "h": 128.8
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#516B2F
secondary
#76599C
accent
#59CF8C
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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