#516237#516237

#516237 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.1% C 0.068 H 126.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#516237
RGBrgb(81, 98, 55)
HSLhsl(84, 28%, 30%)
HSVhsv(84, 44%, 38%)
CMYKcmyk(17.3%, 0%, 43.9%, 61.6%)
CIE-LABlab(39.17, -14.66, 22.35)
CIE-LCHlch(39.17, 26.73, 123.25°)
OKLaboklab(47.05% -0.0404 0.0546)
OKLCHoklch(47.05% 0.068 126.5)
XYZxyz(8.4505, 10.7605, 5.2455)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516237 #483762
analogous
#625E37 #516237 #3B6237
triadic
#516237 #375162 #623751
tetradic
#516237 #37625E #483762 #62373B
square
#516237 #37625E #483762 #62373B
split-complementary
#516237 #373B62 #5E3762
monochromatic
#10140B #313B21 #516237 #71894D #91AB69

Accessibility & contrast

On white

6.66
#516237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#516237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516237
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516237#FFFFFF#000000##FFFFFF
##5162371.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D34
Deuteranopia (green-blind)
#645C39
Tritanopia (blue-blind)
#535E57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #516237;
/* rgb */ color: rgb(81, 98, 55);
/* oklch */ color: oklch(47.1% 0.068 126.5);
Tailwind
colors: {
  custom: {
    50: '#828e6e',
    500: '#516237',
    950: '#000000',
  },
}
SCSS
$custom: #516237;
$custom-light: #828e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#516237",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 83.721,
    "s": 28.105,
    "l": 30
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.06791,
    "h": 126.5
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#516237
secondary
#756292
accent
#63C48A
background
#F8F8F6
surface
#EFF0EC
border
#CACBC7
text
#0A0C07
muted
#7C7D7A

Preview Lab

Preview with #516237

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

Preview Lab → · Contrast checker → · Palette generator →

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