#516A18#516A18

#516A18 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.7% C 0.110 H 125.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#516A18
RGBrgb(81, 106, 24)
HSLhsl(78, 63%, 25%)
HSVhsv(78, 77%, 42%)
CMYKcmyk(23.6%, 0%, 77.4%, 58.4%)
CIE-LABlab(41.41, -22.02, 40.34)
CIE-LCHlch(41.41, 45.96, 118.63°)
OKLaboklab(48.75% -0.0637 0.0899)
OKLCHoklch(48.75% 0.11 125.3)
XYZxyz(8.7123, 12.1232, 2.7450)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A18 #31186A
analogous
#6A5A18 #516A18 #286A18
triadic
#516A18 #18516A #6A1851
tetradic
#516A18 #186A5A #31186A #6A1828
square
#516A18 #186A5A #31186A #6A1828
split-complementary
#516A18 #18286A #5A186A
monochromatic
#131906 #2B380D #516A18 #779C23 #9DCE2F

Accessibility & contrast

On white

6.13
#516A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#516A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A18
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A18#FFFFFF#000000##FFFFFF
##516A181.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706308
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#55655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a18;
/* rgb */ color: rgb(81, 106, 24);
/* oklch */ color: oklch(48.7% 0.110 125.3);
Tailwind
colors: {
  custom: {
    50: '#85945b',
    500: '#516a18',
    950: '#000000',
  },
}
SCSS
$custom: #516a18;
$custom-light: #85945b;
$custom-dark: #000000;
JSON
{
  "hex": "#516a18",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 78.293,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.11016,
    "h": 125.3
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#516A18
secondary
#5C3EA0
accent
#42E674
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A18

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

Preview Lab → · Contrast checker → · Palette generator →

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