#516214#516214

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

Color values

HEX#516214
RGBrgb(81, 98, 20)
HSLhsl(73, 66%, 23%)
HSVhsv(73, 80%, 38%)
CMYKcmyk(17.3%, 0%, 79.6%, 61.6%)
CIE-LABlab(38.79, -18.06, 39.34)
CIE-LCHlch(38.79, 43.28, 114.66°)
OKLaboklab(46.61% -0.0532 0.087)
OKLCHoklch(46.61% 0.102 121.4)
XYZxyz(7.8874, 10.5352, 2.2797)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516214 #251462
analogous
#624C14 #516214 #2A6214
triadic
#516214 #145162 #621451
tetradic
#516214 #14624C #251462 #62142A
square
#516214 #14624C #251462 #62142A
split-complementary
#516214 #142A62 #4C1462
monochromatic
#151905 #272F0A #516214 #7B951E #A5C829

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516214#FFFFFF#000000##FFFFFF
##5162141.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)
#685C04
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#565D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516214;
/* rgb */ color: rgb(81, 98, 20);
/* oklch */ color: oklch(46.6% 0.102 121.4);
Tailwind
colors: {
  custom: {
    50: '#858e58',
    500: '#516214',
    950: '#000000',
  },
}
SCSS
$custom: #516214;
$custom-light: #858e58;
$custom-dark: #000000;
JSON
{
  "hex": "#516214",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 73.077,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46614,
    "c": 0.102,
    "h": 121.4
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#516214
secondary
#4E3899
accent
#3FE964
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516214

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

Preview Lab → · Contrast checker → · Palette generator →

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