#516A2D#516A2D

#516A2D is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 49.0% C 0.092 H 128.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#516A2D
RGBrgb(81, 106, 45)
HSLhsl(85, 40%, 30%)
HSVhsv(85, 58%, 42%)
CMYKcmyk(23.6%, 0%, 57.5%, 58.4%)
CIE-LABlab(41.61, -20.23, 30.84)
CIE-LCHlch(41.61, 36.88, 123.26°)
OKLaboklab(48.96% -0.0567 0.0727)
OKLCHoklch(48.96% 0.092 128)
XYZxyz(9.0210, 12.2467, 4.3707)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A2D #462D6A
analogous
#6A652D #516A2D #336A2D
triadic
#516A2D #2D516A #6A2D51
tetradic
#516A2D #2D6A65 #462D6A #6A2D33
square
#516A2D #2D6A65 #462D6A #6A2D33
split-complementary
#516A2D #2D336A #652D6A
monochromatic
#101509 #303F1B #516A2D #72953F #91B859

Accessibility & contrast

On white

6.09
#516A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516A2D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A2D#FFFFFF#000000##FFFFFF
##516A2D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6327
Deuteranopia (green-blind)
#6B6231
Tritanopia (blue-blind)
#53665C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a2d;
/* rgb */ color: rgb(81, 106, 45);
/* oklch */ color: oklch(49.0% 0.092 128.0);
Tailwind
colors: {
  custom: {
    50: '#839468',
    500: '#516a2d',
    950: '#000000',
  },
}
SCSS
$custom: #516a2d;
$custom-light: #839468;
$custom-dark: #000000;
JSON
{
  "hex": "#516a2d",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 84.59,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.09221,
    "h": 128
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#516A2D
secondary
#73579C
accent
#58D089
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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