#516B17#516B17

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

Color values

HEX#516B17
RGBrgb(81, 107, 23)
HSLhsl(79, 65%, 25%)
HSVhsv(79, 79%, 42%)
CMYKcmyk(24.3%, 0%, 78.5%, 58%)
CIE-LABlab(41.73, -22.59, 41.03)
CIE-LCHlch(41.73, 46.84, 118.84°)
OKLaboklab(49% -0.0654 0.0911)
OKLCHoklch(49% 0.112 125.7)
XYZxyz(8.8057, 12.3265, 2.7258)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B17 #31176B
analogous
#6B5B17 #516B17 #276B17
triadic
#516B17 #17516B #6B1751
tetradic
#516B17 #176B5B #31176B #6B1727
square
#516B17 #176B5B #31176B #6B1727
split-complementary
#516B17 #17276B #5B176B
monochromatic
#131905 #2B390C #516B17 #779D22 #9DD02D

Accessibility & contrast

On white

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

On black

3.47
#516B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516B17#FFFFFF#000000##FFFFFF
##516B171.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516b17;
/* rgb */ color: rgb(81, 107, 23);
/* oklch */ color: oklch(49.0% 0.112 125.7);
Tailwind
colors: {
  custom: {
    50: '#85955b',
    500: '#516b17',
    950: '#000000',
  },
}
SCSS
$custom: #516b17;
$custom-light: #85955b;
$custom-dark: #000000;
JSON
{
  "hex": "#516b17",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 78.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49001,
    "c": 0.11215,
    "h": 125.7
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#516B17
secondary
#5C3DA1
accent
#40E874
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B17

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

Preview Lab → · Contrast checker → · Palette generator →

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