#516E2E#516E2E

#516E2E is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.097 H 129.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#516E2E
RGBrgb(81, 110, 46)
HSLhsl(87, 41%, 31%)
HSVhsv(87, 58%, 43%)
CMYKcmyk(26.4%, 0%, 58.2%, 56.9%)
CIE-LABlab(42.91, -22.19, 31.84)
CIE-LCHlch(42.91, 38.81, 124.87°)
OKLaboklab(50.02% -0.0621 0.075)
OKLCHoklch(50.02% 0.097 129.6)
XYZxyz(9.4623, 13.0982, 4.6139)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E2E #4B2E6E
analogous
#6E6B2E #516E2E #316E2E
triadic
#516E2E #2E516E #6E2E51
tetradic
#516E2E #2E6E6B #4B2E6E #6E2E31
square
#516E2E #2E6E6B #4B2E6E #6E2E31
split-complementary
#516E2E #2E316E #6B2E6E
monochromatic
#11180A #31431C #516E2E #719940 #90BB5C

Accessibility & contrast

On white

5.80
#516E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#516E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E2E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E2E#FFFFFF#000000##FFFFFF
##516E2E1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736728
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#536A60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e2e;
/* rgb */ color: rgb(81, 110, 46);
/* oklch */ color: oklch(50.0% 0.097 129.6);
Tailwind
colors: {
  custom: {
    50: '#849769',
    500: '#516e2e',
    950: '#000000',
  },
}
SCSS
$custom: #516e2e;
$custom-light: #849769;
$custom-dark: #000000;
JSON
{
  "hex": "#516e2e",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 46
  },
  "hsl": {
    "h": 87.188,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.09735,
    "h": 129.6
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#516E2E
secondary
#79589F
accent
#57D18E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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