#516626#516626

#516626 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.093 H 125.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#516626
RGBrgb(81, 102, 38)
HSLhsl(80, 46%, 27%)
HSVhsv(80, 63%, 40%)
CMYKcmyk(20.6%, 0%, 62.7%, 60%)
CIE-LABlab(40.23, -18.83, 32.85)
CIE-LCHlch(40.23, 37.87, 119.83°)
OKLaboklab(47.83% -0.0535 0.0762)
OKLCHoklch(47.83% 0.093 125.1)
XYZxyz(8.4946, 11.3919, 3.5847)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516626 #3B2666
analogous
#665B26 #516626 #316626
triadic
#516626 #265166 #662651
tetradic
#516626 #26665B #3B2666 #662631
square
#516626 #26665B #3B2666 #662631
split-complementary
#516626 #263166 #5B2666
monochromatic
#121608 #2E3915 #516626 #749337 #97BC4B

Accessibility & contrast

On white

6.41
#516626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516626
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516626#FFFFFF#000000##FFFFFF
##5166261.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B601F
Deuteranopia (green-blind)
#695F2A
Tritanopia (blue-blind)
#546158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #516626;
/* rgb */ color: rgb(81, 102, 38);
/* oklch */ color: oklch(47.8% 0.093 125.1);
Tailwind
colors: {
  custom: {
    50: '#849163',
    500: '#516626',
    950: '#000000',
  },
}
SCSS
$custom: #516626;
$custom-light: #849163;
$custom-dark: #000000;
JSON
{
  "hex": "#516626",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 38
  },
  "hsl": {
    "h": 79.688,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.09316,
    "h": 125.1
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#516626
secondary
#674F99
accent
#52D57D
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #516626

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

Preview Lab → · Contrast checker → · Palette generator →

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