#516E18#516E18

#516E18 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.116 H 126.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#516E18
RGBrgb(81, 110, 24)
HSLhsl(80, 64%, 26%)
HSVhsv(80, 78%, 43%)
CMYKcmyk(26.4%, 0%, 78.2%, 56.9%)
CIE-LABlab(42.71, -24.05, 41.60)
CIE-LCHlch(42.71, 48.05, 120.03°)
OKLaboklab(49.8% -0.0693 0.0925)
OKLCHoklch(49.8% 0.116 126.8)
XYZxyz(9.1342, 12.9670, 2.8856)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E18 #35186E
analogous
#6E6018 #516E18 #266E18
triadic
#516E18 #18516E #6E1851
tetradic
#516E18 #186E60 #35186E #6E1826
square
#516E18 #186E60 #35186E #6E1826
split-complementary
#516E18 #18266E #60186E
monochromatic
#121905 #2C3C0D #516E18 #76A023 #9BD22F

Accessibility & contrast

On white

5.84
#516E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#516E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E18
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E18#FFFFFF#000000##FFFFFF
##516E181.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e18;
/* rgb */ color: rgb(81, 110, 24);
/* oklch */ color: oklch(49.8% 0.116 126.8);
Tailwind
colors: {
  custom: {
    50: '#85975c',
    500: '#516e18',
    950: '#000000',
  },
}
SCSS
$custom: #516e18;
$custom-light: #85975c;
$custom-dark: #000000;
JSON
{
  "hex": "#516e18",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 80.233,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.498,
    "c": 0.11556,
    "h": 126.8
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#516E18
secondary
#603EA4
accent
#41E779
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516E18

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

Preview Lab → · Contrast checker → · Palette generator →

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