#516A17#516A17

#516A17 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.7% C 0.111 H 125.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#516A17
RGBrgb(81, 106, 23)
HSLhsl(78, 64%, 25%)
HSVhsv(78, 78%, 42%)
CMYKcmyk(23.6%, 0%, 78.3%, 58.4%)
CIE-LABlab(41.40, -22.08, 40.72)
CIE-LCHlch(41.40, 46.32, 118.47°)
OKLaboklab(48.74% -0.064 0.0905)
OKLCHoklch(48.74% 0.111 125.3)
XYZxyz(8.7021, 12.1191, 2.6912)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A17 #30176A
analogous
#6A5917 #516A17 #286A17
triadic
#516A17 #17516A #6A1751
tetradic
#516A17 #176A59 #30176A #6A1728
square
#516A17 #176A59 #30176A #6A1728
split-complementary
#516A17 #17286A #59176A
monochromatic
#131905 #2B380C #516A17 #779C22 #9ECF2D

Accessibility & contrast

On white

6.13
#516A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#516A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A17
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A17#FFFFFF#000000##FFFFFF
##516A171.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706306
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#55655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a17;
/* rgb */ color: rgb(81, 106, 23);
/* oklch */ color: oklch(48.7% 0.111 125.3);
Tailwind
colors: {
  custom: {
    50: '#85945b',
    500: '#516a17',
    950: '#000000',
  },
}
SCSS
$custom: #516a17;
$custom-light: #85945b;
$custom-dark: #000000;
JSON
{
  "hex": "#516a17",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 78.072,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.11081,
    "h": 125.3
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#516A17
secondary
#5B3DA0
accent
#40E773
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A17

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

Preview Lab → · Contrast checker → · Palette generator →

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