#516E2F#516E2F

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

Color values

HEX#516E2F
RGBrgb(81, 110, 47)
HSLhsl(88, 40%, 31%)
HSVhsv(88, 57%, 43%)
CMYKcmyk(26.4%, 0%, 57.3%, 56.9%)
CIE-LABlab(42.92, -22.08, 31.34)
CIE-LCHlch(42.92, 38.34, 125.17°)
OKLaboklab(50.04% -0.0617 0.074)
OKLCHoklch(50.04% 0.096 129.8)
XYZxyz(9.4823, 13.1062, 4.7189)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E2F #4C2F6E
analogous
#6E6B2F #516E2F #316E2F
triadic
#516E2F #2F516E #6E2F51
tetradic
#516E2F #2F6E6B #4C2F6E #6E2F31
square
#516E2F #2F6E6B #4C2F6E #6E2F31
split-complementary
#516E2F #2F316E #6B2F6E
monochromatic
#12180A #31431D #516E2F #719941 #8FBA5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516E2F#FFFFFF#000000##FFFFFF
##516E2F1.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)
#736729
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#536A60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e2f;
/* rgb */ color: rgb(81, 110, 47);
/* oklch */ color: oklch(50.0% 0.096 129.8);
Tailwind
colors: {
  custom: {
    50: '#849769',
    500: '#516e2f',
    950: '#000000',
  },
}
SCSS
$custom: #516e2f;
$custom-light: #849769;
$custom-dark: #000000;
JSON
{
  "hex": "#516e2f",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 87.619,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.09632,
    "h": 129.8
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#516E2F
secondary
#7A599F
accent
#58D08F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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