#516A1E#516A1E

#516A1E is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.106 H 125.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#516A1E
RGBrgb(81, 106, 30)
HSLhsl(80, 56%, 27%)
HSVhsv(80, 72%, 42%)
CMYKcmyk(23.6%, 0%, 71.7%, 58.4%)
CIE-LABlab(41.46, -21.61, 37.92)
CIE-LCHlch(41.46, 43.65, 119.68°)
OKLaboklab(48.79% -0.062 0.0858)
OKLCHoklch(48.79% 0.106 125.9)
XYZxyz(8.7818, 12.1510, 3.1108)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A1E #371E6A
analogous
#6A5D1E #516A1E #2B6A1E
triadic
#516A1E #1E516A #6A1E51
tetradic
#516A1E #1E6A5D #371E6A #6A1E2B
square
#516A1E #1E6A5D #371E6A #6A1E2B
split-complementary
#516A1E #1E2B6A #5D1E6A
monochromatic
#121807 #2D3A11 #516A1E #759A2C #99C73B

Accessibility & contrast

On white

6.12
#516A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#516A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A1E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A1E#FFFFFF#000000##FFFFFF
##516A1E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706313
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#55655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a1e;
/* rgb */ color: rgb(81, 106, 30);
/* oklch */ color: oklch(48.8% 0.106 125.9);
Tailwind
colors: {
  custom: {
    50: '#84945f',
    500: '#516a1e',
    950: '#000000',
  },
}
SCSS
$custom: #516a1e;
$custom-light: #84945f;
$custom-dark: #000000;
JSON
{
  "hex": "#516a1e",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 79.737,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.10587,
    "h": 125.9
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#516A1E
secondary
#63459E
accent
#49DF7A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516A1E

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

Preview Lab → · Contrast checker → · Palette generator →

#516A1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva