#516210#516210

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

Color values

HEX#516210
RGBrgb(81, 98, 16)
HSLhsl(72, 72%, 22%)
HSVhsv(72, 84%, 38%)
CMYKcmyk(17.3%, 0%, 83.7%, 61.6%)
CIE-LABlab(38.76, -18.26, 40.72)
CIE-LCHlch(38.76, 44.63, 114.15°)
OKLaboklab(46.59% -0.0541 0.0892)
OKLCHoklch(46.59% 0.104 121.3)
XYZxyz(7.8547, 10.5221, 2.1073)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516210 #211062
analogous
#624A10 #516210 #286210
triadic
#516210 #105162 #621051
tetradic
#516210 #10624A #211062 #621028
square
#516210 #10624A #211062 #621028
split-complementary
#516210 #102862 #4A1062
monochromatic
#161A04 #262D07 #516210 #7C9719 #A8CB21

Accessibility & contrast

On white

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

On black

3.10
#516210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516210#FFFFFF#000000##FFFFFF
##5162101.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#565C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516210;
/* rgb */ color: rgb(81, 98, 16);
/* oklch */ color: oklch(46.6% 0.104 121.3);
Tailwind
colors: {
  custom: {
    50: '#858e57',
    500: '#516210',
    950: '#000000',
  },
}
SCSS
$custom: #516210;
$custom-light: #858e57;
$custom-dark: #000000;
JSON
{
  "hex": "#516210",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 72.439,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.10434,
    "h": 121.3
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#516210
secondary
#49339B
accent
#39EF5F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #516210

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

Preview Lab → · Contrast checker → · Palette generator →

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