#516C24#516C24

#516C24 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.104 H 127.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#516C24
RGBrgb(81, 108, 36)
HSLhsl(83, 50%, 28%)
HSVhsv(83, 67%, 42%)
CMYKcmyk(25%, 0%, 66.7%, 57.6%)
CIE-LABlab(42.16, -22.15, 35.94)
CIE-LCHlch(42.16, 42.22, 121.65°)
OKLaboklab(49.38% -0.0629 0.0825)
OKLCHoklch(49.38% 0.104 127.3)
XYZxyz(9.0743, 12.6017, 3.6230)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C24 #3F246C
analogous
#6C6324 #516C24 #2D6C24
triadic
#516C24 #24516C #6C2451
tetradic
#516C24 #246C63 #3F246C #6C242D
square
#516C24 #246C63 #3F246C #6C242D
split-complementary
#516C24 #242D6C #63246C
monochromatic
#111708 #2F3E15 #516C24 #739A33 #94C248

Accessibility & contrast

On white

5.97
#516C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#516C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C24
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C24#FFFFFF#000000##FFFFFF
##516C241.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651B
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#54675D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c24;
/* rgb */ color: rgb(81, 108, 36);
/* oklch */ color: oklch(49.4% 0.104 127.3);
Tailwind
colors: {
  custom: {
    50: '#849662',
    500: '#516c24',
    950: '#000000',
  },
}
SCSS
$custom: #516c24;
$custom-light: #849662;
$custom-dark: #000000;
JSON
{
  "hex": "#516c24",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 36
  },
  "hsl": {
    "h": 82.5,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.10378,
    "h": 127.3
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#516C24
secondary
#6C4D9F
accent
#4EDA82
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516C24

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

Preview Lab → · Contrast checker → · Palette generator →

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