#516213#516213

#516213 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.103 H 121.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#516213
RGBrgb(81, 98, 19)
HSLhsl(73, 68%, 23%)
HSVhsv(73, 81%, 38%)
CMYKcmyk(17.3%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.78, -18.11, 39.70)
CIE-LCHlch(38.78, 43.64, 114.52°)
OKLaboklab(46.61% -0.0535 0.0876)
OKLCHoklch(46.61% 0.103 121.4)
XYZxyz(7.8787, 10.5317, 2.2337)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516213 #241362
analogous
#624B13 #516213 #2A6213
triadic
#516213 #135162 #621351
tetradic
#516213 #13624B #241362 #62132A
square
#516213 #13624B #241362 #62132A
split-complementary
#516213 #132A62 #4B1362
monochromatic
#151A05 #272F09 #516213 #7B951D #A6C927

Accessibility & contrast

On white

6.76
#516213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#516213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516213
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516213#FFFFFF#000000##FFFFFF
##5162131.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C02
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#565C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516213;
/* rgb */ color: rgb(81, 98, 19);
/* oklch */ color: oklch(46.6% 0.103 121.4);
Tailwind
colors: {
  custom: {
    50: '#858e58',
    500: '#516213',
    950: '#000000',
  },
}
SCSS
$custom: #516213;
$custom-light: #858e58;
$custom-dark: #000000;
JSON
{
  "hex": "#516213",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 72.911,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.10262,
    "h": 121.4
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#516213
secondary
#4C379A
accent
#3DEA63
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516213

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

Preview Lab → · Contrast checker → · Palette generator →

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