#516B2A#516B2A

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

Color values

HEX#516B2A
RGBrgb(81, 107, 42)
HSLhsl(84, 44%, 29%)
HSVhsv(84, 61%, 42%)
CMYKcmyk(24.3%, 0%, 60.7%, 58%)
CIE-LABlab(41.89, -21.07, 32.72)
CIE-LCHlch(41.89, 38.91, 122.78°)
OKLaboklab(49.19% -0.0593 0.0764)
OKLCHoklch(49.19% 0.097 127.8)
XYZxyz(9.0689, 12.4317, 4.1118)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B2A #442A6B
analogous
#6B652A #516B2A #316B2A
triadic
#516B2A #2A516B #6B2A51
tetradic
#516B2A #2A6B65 #442A6B #6B2A31
square
#516B2A #2A6B65 #442A6B #6B2A31
split-complementary
#516B2A #2A316B #652A6B
monochromatic
#111609 #303F19 #516B2A #72973B #92BC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516B2A#FFFFFF#000000##FFFFFF
##516B2A1.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)
#706423
Deuteranopia (green-blind)
#6D622E
Tritanopia (blue-blind)
#54665D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b2a;
/* rgb */ color: rgb(81, 107, 42);
/* oklch */ color: oklch(49.2% 0.097 127.8);
Tailwind
colors: {
  custom: {
    50: '#849566',
    500: '#516b2a',
    950: '#000000',
  },
}
SCSS
$custom: #516b2a;
$custom-light: #849566;
$custom-dark: #000000;
JSON
{
  "hex": "#516b2a",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 84,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49186,
    "c": 0.09676,
    "h": 127.8
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#516B2A
secondary
#71549D
accent
#54D387
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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