#516C25#516C25

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

Color values

HEX#516C25
RGBrgb(81, 108, 37)
HSLhsl(83, 49%, 28%)
HSVhsv(83, 66%, 42%)
CMYKcmyk(25%, 0%, 65.7%, 57.6%)
CIE-LABlab(42.17, -22.07, 35.48)
CIE-LCHlch(42.17, 41.78, 121.88°)
OKLaboklab(49.39% -0.0626 0.0817)
OKLCHoklch(49.39% 0.103 127.5)
XYZxyz(9.0898, 12.6079, 3.7046)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C25 #40256C
analogous
#6C6325 #516C25 #2D6C25
triadic
#516C25 #25516C #6C2551
tetradic
#516C25 #256C63 #40256C #6C252D
square
#516C25 #256C63 #40256C #6C252D
split-complementary
#516C25 #252D6C #63256C
monochromatic
#111708 #2F3E15 #516C25 #739A35 #94C14A

Accessibility & contrast

On white

5.96
#516C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516C25
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C25#FFFFFF#000000##FFFFFF
##516C251.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71651C
Deuteranopia (green-blind)
#6E632A
Tritanopia (blue-blind)
#54675D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c25;
/* rgb */ color: rgb(81, 108, 37);
/* oklch */ color: oklch(49.4% 0.103 127.5);
Tailwind
colors: {
  custom: {
    50: '#849663',
    500: '#516c25',
    950: '#000000',
  },
}
SCSS
$custom: #516c25;
$custom-light: #849663;
$custom-dark: #000000;
JSON
{
  "hex": "#516c25",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 37
  },
  "hsl": {
    "h": 82.817,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.10291,
    "h": 127.5
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#516C25
secondary
#6D4E9F
accent
#4FD983
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516C25

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

Preview Lab → · Contrast checker → · Palette generator →

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