#516628#516628

#516628 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.9% C 0.091 H 125.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#516628
RGBrgb(81, 102, 40)
HSLhsl(80, 44%, 28%)
HSVhsv(80, 61%, 40%)
CMYKcmyk(20.6%, 0%, 60.8%, 60%)
CIE-LABlab(40.25, -18.64, 31.87)
CIE-LCHlch(40.25, 36.92, 120.32°)
OKLaboklab(47.86% -0.0528 0.0744)
OKLCHoklch(47.86% 0.091 125.4)
XYZxyz(8.5277, 11.4052, 3.7592)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516628 #3D2866
analogous
#665C28 #516628 #326628
triadic
#516628 #285166 #662851
tetradic
#516628 #28665C #3D2866 #662832
square
#516628 #28665C #3D2866 #662832
split-complementary
#516628 #283266 #5C2866
monochromatic
#111609 #2E3A17 #516628 #749239 #95BA4F

Accessibility & contrast

On white

6.40
#516628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#516628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516628
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516628#FFFFFF#000000##FFFFFF
##5166281.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6022
Deuteranopia (green-blind)
#685F2C
Tritanopia (blue-blind)
#546158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #516628;
/* rgb */ color: rgb(81, 102, 40);
/* oklch */ color: oklch(47.9% 0.091 125.4);
Tailwind
colors: {
  custom: {
    50: '#849164',
    500: '#516628',
    950: '#000000',
  },
}
SCSS
$custom: #516628;
$custom-light: #849164;
$custom-dark: #000000;
JSON
{
  "hex": "#516628",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 40
  },
  "hsl": {
    "h": 80.323,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.0912,
    "h": 125.4
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#516628
secondary
#695199
accent
#54D37F
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #516628

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

Preview Lab → · Contrast checker → · Palette generator →

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