#516118#516118

#516118 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.098 H 121.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#516118
RGBrgb(81, 97, 24)
HSLhsl(73, 60%, 24%)
HSVhsv(73, 75%, 38%)
CMYKcmyk(16.5%, 0%, 75.3%, 62%)
CIE-LABlab(38.49, -17.28, 37.47)
CIE-LCHlch(38.49, 41.26, 114.76°)
OKLaboklab(46.38% -0.0507 0.0838)
OKLCHoklch(46.38% 0.098 121.2)
XYZxyz(7.8330, 10.3647, 2.4519)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516118 #281861
analogous
#614C18 #516118 #2C6118
triadic
#516118 #185161 #611851
tetradic
#516118 #18614C #281861 #61182C
square
#516118 #18614C #281861 #61182C
split-complementary
#516118 #182C61 #4C1861
monochromatic
#141906 #28300C #516118 #7A9224 #A3C330

Accessibility & contrast

On white

6.83
#516118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#516118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516118
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516118#FFFFFF#000000##FFFFFF
##5161181.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0C
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#565C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516118;
/* rgb */ color: rgb(81, 97, 24);
/* oklch */ color: oklch(46.4% 0.098 121.2);
Tailwind
colors: {
  custom: {
    50: '#848d5a',
    500: '#516118',
    950: '#000000',
  },
}
SCSS
$custom: #516118;
$custom-light: #848d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#516118",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 73.151,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.09797,
    "h": 121.2
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#516118
secondary
#513D97
accent
#44E367
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516118

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

Preview Lab → · Contrast checker → · Palette generator →

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