#516622#516622

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

Color values

HEX#516622
RGBrgb(81, 102, 34)
HSLhsl(79, 50%, 27%)
HSVhsv(79, 67%, 40%)
CMYKcmyk(20.6%, 0%, 66.7%, 60%)
CIE-LABlab(40.19, -19.20, 34.76)
CIE-LCHlch(40.19, 39.71, 118.91°)
OKLaboklab(47.79% -0.055 0.0798)
OKLCHoklch(47.79% 0.097 124.6)
XYZxyz(8.4335, 11.3675, 3.2629)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516622 #372266
analogous
#665922 #516622 #2F6622
triadic
#516622 #225166 #662251
tetradic
#516622 #226659 #372266 #66222F
square
#516622 #226659 #372266 #66222F
split-complementary
#516622 #222F66 #592266
monochromatic
#121708 #2D3813 #516622 #759431 #99C042

Accessibility & contrast

On white

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

On black

3.27
#516622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516622#FFFFFF#000000##FFFFFF
##5166221.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F1A
Deuteranopia (green-blind)
#695E27
Tritanopia (blue-blind)
#556158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #516622;
/* rgb */ color: rgb(81, 102, 34);
/* oklch */ color: oklch(47.8% 0.097 124.6);
Tailwind
colors: {
  custom: {
    50: '#849161',
    500: '#516622',
    950: '#000000',
  },
}
SCSS
$custom: #516622;
$custom-light: #849161;
$custom-dark: #000000;
JSON
{
  "hex": "#516622",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 78.529,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47785,
    "c": 0.09686,
    "h": 124.6
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#516622
secondary
#634A9A
accent
#4EDA79
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #516622

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

Preview Lab → · Contrast checker → · Palette generator →

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