#516A2F#516A2F

#516A2F is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.090 H 128.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#516A2F
RGBrgb(81, 106, 47)
HSLhsl(85, 39%, 30%)
HSVhsv(85, 56%, 42%)
CMYKcmyk(23.6%, 0%, 55.7%, 58.4%)
CIE-LABlab(41.63, -20.00, 29.82)
CIE-LCHlch(41.63, 35.90, 123.85°)
OKLaboklab(48.99% -0.0559 0.0707)
OKLCHoklch(48.99% 0.09 128.4)
XYZxyz(9.0604, 12.2625, 4.5783)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A2F #482F6A
analogous
#6A662F #516A2F #336A2F
triadic
#516A2F #2F516A #6A2F51
tetradic
#516A2F #2F6A66 #482F6A #6A2F33
square
#516A2F #2F6A66 #482F6A #6A2F33
split-complementary
#516A2F #2F336A #662F6A
monochromatic
#101509 #31401C #516A2F #719442 #91B75C

Accessibility & contrast

On white

6.08
#516A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#516A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A2F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A2F#FFFFFF#000000##FFFFFF
##516A2F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6329
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#53665D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a2f;
/* rgb */ color: rgb(81, 106, 47);
/* oklch */ color: oklch(49.0% 0.090 128.4);
Tailwind
colors: {
  custom: {
    50: '#839469',
    500: '#516a2f',
    950: '#000000',
  },
}
SCSS
$custom: #516a2f;
$custom-light: #839469;
$custom-dark: #000000;
JSON
{
  "hex": "#516a2f",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 85.424,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.09011,
    "h": 128.4
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#516A2F
secondary
#75599B
accent
#59CE8B
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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