#516F16#516F16

#516F16 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.118 H 127.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#516F16
RGBrgb(81, 111, 22)
HSLhsl(80, 67%, 26%)
HSVhsv(80, 80%, 44%)
CMYKcmyk(27%, 0%, 80.2%, 56.5%)
CIE-LABlab(43.03, -24.67, 42.62)
CIE-LCHlch(43.03, 49.25, 120.06°)
OKLaboklab(50.05% -0.0711 0.0943)
OKLCHoklch(50.05% 0.118 127)
XYZxyz(9.2226, 13.1760, 2.8162)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F16 #34166F
analogous
#6F6016 #516F16 #246F16
triadic
#516F16 #16516F #6F1651
tetradic
#516F16 #166F60 #34166F #6F1624
square
#516F16 #166F60 #34166F #6F1624
split-complementary
#516F16 #16246F #60166F
monochromatic
#131A05 #2C3C0C #516F16 #76A220 #9BD52B

Accessibility & contrast

On white

5.78
#516F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#516F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F16
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F16#FFFFFF#000000##FFFFFF
##516F161.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756702
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#546A5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f16;
/* rgb */ color: rgb(81, 111, 22);
/* oklch */ color: oklch(50.1% 0.118 127.0);
Tailwind
colors: {
  custom: {
    50: '#85985b',
    500: '#516f16',
    950: '#000000',
  },
}
SCSS
$custom: #516f16;
$custom-light: #85985b;
$custom-dark: #000000;
JSON
{
  "hex": "#516f16",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 80.225,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.11811,
    "h": 127
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#516F16
secondary
#5F3CA5
accent
#3EEA78
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516F16

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

Preview Lab → · Contrast checker → · Palette generator →

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