#516618#516618

#516618 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.105 H 123.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#516618
RGBrgb(81, 102, 24)
HSLhsl(76, 62%, 25%)
HSVhsv(76, 76%, 40%)
CMYKcmyk(20.6%, 0%, 76.5%, 60%)
CIE-LABlab(40.11, -19.94, 39.07)
CIE-LCHlch(40.11, 43.87, 117.04°)
OKLaboklab(47.69% -0.058 0.0872)
OKLCHoklch(47.69% 0.105 123.6)
XYZxyz(8.3097, 11.3180, 2.6108)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516618 #2D1866
analogous
#665418 #516618 #2A6618
triadic
#516618 #185166 #661851
tetradic
#516618 #186654 #2D1866 #66182A
square
#516618 #186654 #2D1866 #66182A
split-complementary
#516618 #182A66 #541866
monochromatic
#141906 #2A340C #516618 #789824 #A0C92F

Accessibility & contrast

On white

6.43
#516618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#516618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516618
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516618#FFFFFF#000000##FFFFFF
##5166181.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#556157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #516618;
/* rgb */ color: rgb(81, 102, 24);
/* oklch */ color: oklch(47.7% 0.105 123.6);
Tailwind
colors: {
  custom: {
    50: '#84915b',
    500: '#516618',
    950: '#000000',
  },
}
SCSS
$custom: #516618;
$custom-light: #84915b;
$custom-dark: #000000;
JSON
{
  "hex": "#516618",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 76.154,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.10474,
    "h": 123.6
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#516618
secondary
#573E9C
accent
#43E56E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516618

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

Preview Lab → · Contrast checker → · Palette generator →

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