#516E1A#516E1A

#516E1A is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.114 H 127.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#516E1A
RGBrgb(81, 110, 26)
HSLhsl(81, 62%, 27%)
HSVhsv(81, 76%, 43%)
CMYKcmyk(26.4%, 0%, 76.4%, 56.9%)
CIE-LABlab(42.73, -23.93, 40.85)
CIE-LCHlch(42.73, 47.34, 120.36°)
OKLaboklab(49.82% -0.0688 0.0913)
OKLCHoklch(49.82% 0.114 127)
XYZxyz(9.1557, 12.9756, 2.9993)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E1A #371A6E
analogous
#6E611A #516E1A #276E1A
triadic
#516E1A #1A516E #6E1A51
tetradic
#516E1A #1A6E61 #371A6E #6E1A27
square
#516E1A #1A6E61 #371A6E #6E1A27
split-complementary
#516E1A #1A276E #611A6E
monochromatic
#121906 #2D3D0E #516E1A #75A026 #99CF34

Accessibility & contrast

On white

5.84
#516E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#516E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E1A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E1A#FFFFFF#000000##FFFFFF
##516E1A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660A
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e1a;
/* rgb */ color: rgb(81, 110, 26);
/* oklch */ color: oklch(49.8% 0.114 127.0);
Tailwind
colors: {
  custom: {
    50: '#85975d',
    500: '#516e1a',
    950: '#000000',
  },
}
SCSS
$custom: #516e1a;
$custom-light: #85975d;
$custom-dark: #000000;
JSON
{
  "hex": "#516e1a",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 80.714,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49815,
    "c": 0.11428,
    "h": 127
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#516E1A
secondary
#6341A3
accent
#43E57B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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