#516018#516018

#516018 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.1% C 0.097 H 120.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#516018
RGBrgb(81, 96, 24)
HSLhsl(73, 60%, 24%)
HSVhsv(73, 75%, 38%)
CMYKcmyk(15.6%, 0%, 75%, 62.4%)
CIE-LABlab(38.17, -16.74, 37.15)
CIE-LCHlch(38.17, 40.74, 114.26°)
OKLaboklab(46.12% -0.0492 0.0832)
OKLCHoklch(46.12% 0.097 120.6)
XYZxyz(7.7412, 10.1810, 2.4213)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516018 #271860
analogous
#604B18 #516018 #2D6018
triadic
#516018 #185160 #601851
tetradic
#516018 #18604B #271860 #60182D
square
#516018 #18604B #271860 #60182D
split-complementary
#516018 #182D60 #4B1860
monochromatic
#151806 #282F0C #516018 #7A9124 #A4C230

Accessibility & contrast

On white

6.92
#516018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#516018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516018
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516018#FFFFFF#000000##FFFFFF
##5160181.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#565B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #516018;
/* rgb */ color: rgb(81, 96, 24);
/* oklch */ color: oklch(46.1% 0.097 120.6);
Tailwind
colors: {
  custom: {
    50: '#848d5a',
    500: '#516018',
    950: '#000000',
  },
}
SCSS
$custom: #516018;
$custom-light: #848d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#516018",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 72.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.09662,
    "h": 120.6
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#516018
secondary
#503D96
accent
#45E366
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516018

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

Preview Lab → · Contrast checker → · Palette generator →

#516018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva