#516F29#516F29

#516F29 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.104 H 129.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#516F29
RGBrgb(81, 111, 41)
HSLhsl(86, 46%, 30%)
HSVhsv(86, 63%, 44%)
CMYKcmyk(27%, 0%, 63.1%, 56.5%)
CIE-LABlab(43.18, -23.22, 34.67)
CIE-LCHlch(43.18, 41.73, 123.82°)
OKLaboklab(50.22% -0.0654 0.0805)
OKLCHoklch(50.22% 0.104 129.1)
XYZxyz(9.4780, 13.2781, 4.1610)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F29 #47296F
analogous
#6F6A29 #516F29 #2E6F29
triadic
#516F29 #29516F #6F2951
tetradic
#516F29 #296F6A #47296F #6F292E
square
#516F29 #296F6A #47296F #6F292E
split-complementary
#516F29 #292E6F #6A296F
monochromatic
#101608 #304218 #516F29 #729C3A #91BF53

Accessibility & contrast

On white

5.74
#516F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#516F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F29
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F29#FFFFFF#000000##FFFFFF
##516F291.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#536A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f29;
/* rgb */ color: rgb(81, 111, 41);
/* oklch */ color: oklch(50.2% 0.104 129.1);
Tailwind
colors: {
  custom: {
    50: '#849866',
    500: '#516f29',
    950: '#000000',
  },
}
SCSS
$custom: #516f29;
$custom-light: #849866;
$custom-dark: #000000;
JSON
{
  "hex": "#516f29",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 41
  },
  "hsl": {
    "h": 85.714,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.1037,
    "h": 129.1
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#516F29
secondary
#7453A1
accent
#52D68A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516F29

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

Preview Lab → · Contrast checker → · Palette generator →

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