#516B2C#516B2C

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

Color values

HEX#516B2C
RGBrgb(81, 107, 44)
HSLhsl(85, 42%, 30%)
HSVhsv(85, 59%, 42%)
CMYKcmyk(24.3%, 0%, 58.9%, 58%)
CIE-LABlab(41.92, -20.86, 31.72)
CIE-LCHlch(41.92, 37.97, 123.33°)
OKLaboklab(49.21% -0.0586 0.0745)
OKLCHoklch(49.21% 0.095 128.2)
XYZxyz(9.1056, 12.4464, 4.3050)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B2C #462C6B
analogous
#6B662C #516B2C #326B2C
triadic
#516B2C #2C516B #6B2C51
tetradic
#516B2C #2C6B66 #462C6B #6B2C32
square
#516B2C #2C6B66 #462C6B #6B2C32
split-complementary
#516B2C #2C326B #662C6B
monochromatic
#101609 #30401A #516B2C #72963E #91BA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516B2C#FFFFFF#000000##FFFFFF
##516B2C1.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)
#706426
Deuteranopia (green-blind)
#6C6230
Tritanopia (blue-blind)
#53665D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b2c;
/* rgb */ color: rgb(81, 107, 44);
/* oklch */ color: oklch(49.2% 0.095 128.2);
Tailwind
colors: {
  custom: {
    50: '#849567',
    500: '#516b2c',
    950: '#000000',
  },
}
SCSS
$custom: #516b2c;
$custom-light: #849567;
$custom-dark: #000000;
JSON
{
  "hex": "#516b2c",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 84.762,
    "s": 41.722,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.09477,
    "h": 128.2
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#516B2C
secondary
#73569D
accent
#56D289
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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