#516E24#516E24

#516E24 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.107 H 128.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#516E24
RGBrgb(81, 110, 36)
HSLhsl(84, 51%, 29%)
HSVhsv(84, 67%, 43%)
CMYKcmyk(26.4%, 0%, 67.3%, 56.9%)
CIE-LABlab(42.81, -23.17, 36.64)
CIE-LCHlch(42.81, 43.36, 122.31°)
OKLaboklab(49.91% -0.0657 0.084)
OKLCHoklch(49.91% 0.107 128.1)
XYZxyz(9.2877, 13.0284, 3.6941)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E24 #41246E
analogous
#6E6624 #516E24 #2C6E24
triadic
#516E24 #24516E #6E2451
tetradic
#516E24 #246E66 #41246E #6E242C
square
#516E24 #246E66 #41246E #6E242C
split-complementary
#516E24 #242C6E #66246E
monochromatic
#111708 #2F4015 #516E24 #739C33 #93C349

Accessibility & contrast

On white

5.82
#516E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#516E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E24
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E24#FFFFFF#000000##FFFFFF
##516E241.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74661B
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#54695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e24;
/* rgb */ color: rgb(81, 110, 36);
/* oklch */ color: oklch(49.9% 0.107 128.1);
Tailwind
colors: {
  custom: {
    50: '#849763',
    500: '#516e24',
    950: '#000000',
  },
}
SCSS
$custom: #516e24;
$custom-light: #849763;
$custom-dark: #000000;
JSON
{
  "hex": "#516e24",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 36
  },
  "hsl": {
    "h": 83.514,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.10667,
    "h": 128.1
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#516E24
secondary
#6E4DA1
accent
#4EDA85
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516E24

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

Preview Lab → · Contrast checker → · Palette generator →

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