#516F32#516F32

#516F32 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.095 H 130.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#516F32
RGBrgb(81, 111, 50)
HSLhsl(90, 38%, 32%)
HSVhsv(90, 55%, 44%)
CMYKcmyk(27%, 0%, 55%, 56.5%)
CIE-LABlab(43.28, -22.25, 30.19)
CIE-LCHlch(43.28, 37.50, 126.39°)
OKLaboklab(50.34% -0.0619 0.0718)
OKLCHoklch(50.34% 0.095 130.8)
XYZxyz(9.6534, 13.3483, 5.0849)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F32 #50326F
analogous
#6F6F32 #516F32 #336F32
triadic
#516F32 #32516F #6F3251
tetradic
#516F32 #326F6F #50326F #6F3233
square
#516F32 #326F6F #50326F #6F3233
split-complementary
#516F32 #32336F #6F326F
monochromatic
#131B0C #32451F #516F32 #709945 #8EB963

Accessibility & contrast

On white

5.72
#516F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#516F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F32
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F32#FFFFFF#000000##FFFFFF
##516F321.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#526B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f32;
/* rgb */ color: rgb(81, 111, 50);
/* oklch */ color: oklch(50.3% 0.095 130.8);
Tailwind
colors: {
  custom: {
    50: '#84986c',
    500: '#516f32',
    950: '#000000',
  },
}
SCSS
$custom: #516f32;
$custom-light: #84986c;
$custom-dark: #000000;
JSON
{
  "hex": "#516f32",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 50
  },
  "hsl": {
    "h": 89.508,
    "s": 37.888,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.09477,
    "h": 130.8
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#516F32
secondary
#7E5DA0
accent
#5ACE93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D07
muted
#7C7E7A

Preview Lab

Preview with #516F32

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

Preview Lab → · Contrast checker → · Palette generator →

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