#516B2D#516B2D

#516B2D is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.2% C 0.094 H 128.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#516B2D
RGBrgb(81, 107, 45)
HSLhsl(85, 41%, 30%)
HSVhsv(85, 58%, 42%)
CMYKcmyk(24.3%, 0%, 57.9%, 58%)
CIE-LABlab(41.93, -20.75, 31.22)
CIE-LCHlch(41.93, 37.48, 123.61°)
OKLaboklab(49.23% -0.0582 0.0735)
OKLCHoklch(49.23% 0.094 128.4)
XYZxyz(9.1246, 12.4540, 4.4052)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B2D #472D6B
analogous
#6B662D #516B2D #326B2D
triadic
#516B2D #2D516B #6B2D51
tetradic
#516B2D #2D6B66 #472D6B #6B2D32
square
#516B2D #2D6B66 #472D6B #6B2D32
split-complementary
#516B2D #2D326B #662D6B
monochromatic
#101609 #30401B #516B2D #72963F #91B959

Accessibility & contrast

On white

6.02
#516B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#516B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B2D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B2D#FFFFFF#000000##FFFFFF
##516B2D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#53675D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b2d;
/* rgb */ color: rgb(81, 107, 45);
/* oklch */ color: oklch(49.2% 0.094 128.4);
Tailwind
colors: {
  custom: {
    50: '#849568',
    500: '#516b2d',
    950: '#000000',
  },
}
SCSS
$custom: #516b2d;
$custom-light: #849568;
$custom-dark: #000000;
JSON
{
  "hex": "#516b2d",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 85.161,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.09375,
    "h": 128.4
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#516B2D
secondary
#74579D
accent
#57D18A
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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