#516B2B#516B2B

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

Color values

HEX#516B2B
RGBrgb(81, 107, 43)
HSLhsl(84, 43%, 29%)
HSVhsv(84, 60%, 42%)
CMYKcmyk(24.3%, 0%, 59.8%, 58%)
CIE-LABlab(41.91, -20.96, 32.22)
CIE-LCHlch(41.91, 38.44, 123.05°)
OKLaboklab(49.2% -0.059 0.0755)
OKLCHoklch(49.2% 0.096 128)
XYZxyz(9.0870, 12.4390, 4.2072)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B2B #452B6B
analogous
#6B652B #516B2B #316B2B
triadic
#516B2B #2B516B #6B2B51
tetradic
#516B2B #2B6B65 #452B6B #6B2B31
square
#516B2B #2B6B65 #452B6B #6B2B31
split-complementary
#516B2B #2B316B #652B6B
monochromatic
#111609 #303F19 #516B2B #72973D #92BB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516B2B#FFFFFF#000000##FFFFFF
##516B2B1.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)
#706424
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#54665D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b2b;
/* rgb */ color: rgb(81, 107, 43);
/* oklch */ color: oklch(49.2% 0.096 128.0);
Tailwind
colors: {
  custom: {
    50: '#849567',
    500: '#516b2b',
    950: '#000000',
  },
}
SCSS
$custom: #516b2b;
$custom-light: #849567;
$custom-dark: #000000;
JSON
{
  "hex": "#516b2b",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 43
  },
  "hsl": {
    "h": 84.375,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49199,
    "c": 0.09578,
    "h": 128
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#516B2B
secondary
#72559D
accent
#55D288
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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