#516B16#516B16

#516B16 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.113 H 125.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#516B16
RGBrgb(81, 107, 22)
HSLhsl(78, 66%, 25%)
HSVhsv(78, 79%, 42%)
CMYKcmyk(24.3%, 0%, 79.4%, 58%)
CIE-LABlab(41.72, -22.65, 41.39)
CIE-LCHlch(41.72, 47.18, 118.69°)
OKLaboklab(48.99% -0.0656 0.0917)
OKLCHoklch(48.99% 0.113 125.6)
XYZxyz(8.7959, 12.3225, 2.6740)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B16 #30166B
analogous
#6B5A16 #516B16 #266B16
triadic
#516B16 #16516B #6B1651
tetradic
#516B16 #166B5A #30166B #6B1626
square
#516B16 #166B5A #30166B #6B1626
split-complementary
#516B16 #16266B #5A166B
monochromatic
#131905 #2B380C #516B16 #779E20 #9ED12B

Accessibility & contrast

On white

6.06
#516B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#516B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B16
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B16#FFFFFF#000000##FFFFFF
##516B161.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#55665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516b16;
/* rgb */ color: rgb(81, 107, 22);
/* oklch */ color: oklch(49.0% 0.113 125.6);
Tailwind
colors: {
  custom: {
    50: '#85955b',
    500: '#516b16',
    950: '#000000',
  },
}
SCSS
$custom: #516b16;
$custom-light: #85955b;
$custom-dark: #000000;
JSON
{
  "hex": "#516b16",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 78.353,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.11277,
    "h": 125.6
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#516B16
secondary
#5B3BA1
accent
#3FE973
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B16

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

Preview Lab → · Contrast checker → · Palette generator →

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