#516D30#516D30

#516D30 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.094 H 129.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#516D30
RGBrgb(81, 109, 48)
HSLhsl(88, 39%, 31%)
HSVhsv(88, 56%, 43%)
CMYKcmyk(25.7%, 0%, 56%, 57.3%)
CIE-LABlab(42.61, -21.45, 30.45)
CIE-LCHlch(42.61, 37.25, 125.16°)
OKLaboklab(49.79% -0.0599 0.0721)
OKLCHoklch(49.79% 0.094 129.7)
XYZxyz(9.3954, 12.8998, 4.7906)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D30 #4C306D
analogous
#6D6A30 #516D30 #326D30
triadic
#516D30 #30516D #6D3051
tetradic
#516D30 #306D6A #4C306D #6D3032
square
#516D30 #306D6A #4C306D #6D3032
split-complementary
#516D30 #30326D #6A306D
monochromatic
#12180B #31431D #516D30 #719743 #8FB85F

Accessibility & contrast

On white

5.87
#516D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#516D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D30
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D30#FFFFFF#000000##FFFFFF
##516D301.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662A
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#53695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516d30;
/* rgb */ color: rgb(81, 109, 48);
/* oklch */ color: oklch(49.8% 0.094 129.7);
Tailwind
colors: {
  custom: {
    50: '#83976a',
    500: '#516d30',
    950: '#000000',
  },
}
SCSS
$custom: #516d30;
$custom-light: #83976a;
$custom-dark: #000000;
JSON
{
  "hex": "#516d30",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 48
  },
  "hsl": {
    "h": 87.541,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.09374,
    "h": 129.7
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#516D30
secondary
#7A5B9E
accent
#59CF8F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516D30

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

Preview Lab → · Contrast checker → · Palette generator →

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