#516E22#516E22

#516E22 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.108 H 127.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#516E22
RGBrgb(81, 110, 34)
HSLhsl(83, 53%, 28%)
HSVhsv(83, 69%, 43%)
CMYKcmyk(26.4%, 0%, 69.1%, 56.9%)
CIE-LABlab(42.79, -23.34, 37.54)
CIE-LCHlch(42.79, 44.21, 121.87°)
OKLaboklab(49.89% -0.0664 0.0856)
OKLCHoklch(49.89% 0.108 127.8)
XYZxyz(9.2580, 13.0165, 3.5377)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E22 #3F226E
analogous
#6E6522 #516E22 #2B6E22
triadic
#516E22 #22516E #6E2251
tetradic
#516E22 #226E65 #3F226E #6E222B
square
#516E22 #226E65 #3F226E #6E222B
split-complementary
#516E22 #222B6E #65226E
monochromatic
#111707 #2F3F14 #516E22 #739D30 #94C545

Accessibility & contrast

On white

5.83
#516E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#516E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E22
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E22#FFFFFF#000000##FFFFFF
##516E221.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746618
Deuteranopia (green-blind)
#706428
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e22;
/* rgb */ color: rgb(81, 110, 34);
/* oklch */ color: oklch(49.9% 0.108 127.8);
Tailwind
colors: {
  custom: {
    50: '#849761',
    500: '#516e22',
    950: '#000000',
  },
}
SCSS
$custom: #516e22;
$custom-light: #849761;
$custom-dark: #000000;
JSON
{
  "hex": "#516e22",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 82.895,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.10835,
    "h": 127.8
  },
  "luminance": 0.13017
}

Semantic roles & 50–950 ramp

primary
#516E22
secondary
#6C4AA1
accent
#4CDC83
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516E22

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

Preview Lab → · Contrast checker → · Palette generator →

#516E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva