#516F2F#516F2F

#516F2F is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.098 H 130.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#516F2F
RGBrgb(81, 111, 47)
HSLhsl(88, 41%, 31%)
HSVhsv(88, 58%, 44%)
CMYKcmyk(27%, 0%, 57.7%, 56.5%)
CIE-LABlab(43.25, -22.59, 31.72)
CIE-LCHlch(43.25, 38.94, 125.46°)
OKLaboklab(50.3% -0.0631 0.0748)
OKLCHoklch(50.3% 0.098 130.2)
XYZxyz(9.5908, 13.3232, 4.7551)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F2F #4D2F6F
analogous
#6F6D2F #516F2F #316F2F
triadic
#516F2F #2F516F #6F2F51
tetradic
#516F2F #2F6F6D #4D2F6F #6F2F31
square
#516F2F #2F6F6D #4D2F6F #6F2F31
split-complementary
#516F2F #2F316F #6D2F6F
monochromatic
#12190B #32441D #516F2F #709A41 #8FBB5E

Accessibility & contrast

On white

5.73
#516F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#516F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F2F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F2F#FFFFFF#000000##FFFFFF
##516F2F1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#706533
Tritanopia (blue-blind)
#536B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f2f;
/* rgb */ color: rgb(81, 111, 47);
/* oklch */ color: oklch(50.3% 0.098 130.2);
Tailwind
colors: {
  custom: {
    50: '#84986a',
    500: '#516f2f',
    950: '#000000',
  },
}
SCSS
$custom: #516f2f;
$custom-light: #84986a;
$custom-dark: #000000;
JSON
{
  "hex": "#516f2f",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 88.125,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.09787,
    "h": 130.2
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#516F2F
secondary
#7B59A0
accent
#57D090
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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