#516331#516331

#516331 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.2% C 0.077 H 125.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#516331
RGBrgb(81, 99, 49)
HSLhsl(82, 34%, 29%)
HSVhsv(82, 51%, 39%)
CMYKcmyk(18.2%, 0%, 50.5%, 61.2%)
CIE-LABlab(39.40, -16.00, 26.04)
CIE-LCHlch(39.40, 30.57, 121.57°)
OKLaboklab(47.21% -0.0446 0.0625)
OKLCHoklch(47.21% 0.077 125.5)
XYZxyz(8.4095, 10.8947, 4.5650)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516331 #433163
analogous
#635C31 #516331 #386331
triadic
#516331 #315163 #633151
tetradic
#516331 #31635C #433163 #633138
square
#516331 #31635C #433163 #633138
split-complementary
#516331 #313863 #5C3163
monochromatic
#11140A #303A1D #516331 #728C45 #93B05F

Accessibility & contrast

On white

6.61
#516331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#516331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516331
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516331#FFFFFF#000000##FFFFFF
##5163311.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D2D
Deuteranopia (green-blind)
#655D34
Tritanopia (blue-blind)
#545F57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #516331;
/* rgb */ color: rgb(81, 99, 49);
/* oklch */ color: oklch(47.2% 0.077 125.5);
Tailwind
colors: {
  custom: {
    50: '#838f6a',
    500: '#516331',
    950: '#000000',
  },
}
SCSS
$custom: #516331;
$custom-light: #838f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#516331",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 81.6,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.0768,
    "h": 125.5
  },
  "luminance": 0.10895
}

Semantic roles & 50–950 ramp

primary
#516331
secondary
#705C94
accent
#5ECA85
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #516331

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

Preview Lab → · Contrast checker → · Palette generator →

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