#516117#516117

#516117 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.099 H 121.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#516117
RGBrgb(81, 97, 23)
HSLhsl(73, 62%, 24%)
HSVhsv(73, 76%, 38%)
CMYKcmyk(16.5%, 0%, 76.3%, 62%)
CIE-LABlab(38.48, -17.34, 37.87)
CIE-LCHlch(38.48, 41.66, 114.61°)
OKLaboklab(46.38% -0.051 0.0845)
OKLCHoklch(46.38% 0.099 121.1)
XYZxyz(7.8228, 10.3606, 2.3981)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516117 #271761
analogous
#614C17 #516117 #2C6117
triadic
#516117 #175161 #611751
tetradic
#516117 #17614C #271761 #61172C
square
#516117 #17614C #271761 #61172C
split-complementary
#516117 #172C61 #4C1761
monochromatic
#151906 #28300B #516117 #7A9223 #A4C42E

Accessibility & contrast

On white

6.84
#516117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#516117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516117
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516117#FFFFFF#000000##FFFFFF
##5161171.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#565C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516117;
/* rgb */ color: rgb(81, 97, 23);
/* oklch */ color: oklch(46.4% 0.099 121.1);
Tailwind
colors: {
  custom: {
    50: '#848d5a',
    500: '#516117',
    950: '#000000',
  },
}
SCSS
$custom: #516117;
$custom-light: #848d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#516117",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 72.973,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.09868,
    "h": 121.1
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#516117
secondary
#503C98
accent
#43E566
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516117

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

Preview Lab → · Contrast checker → · Palette generator →

#516117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva