#516F1A#516F1A

#516F1A is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.116 H 127.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#516F1A
RGBrgb(81, 111, 26)
HSLhsl(81, 62%, 27%)
HSVhsv(81, 77%, 44%)
CMYKcmyk(27%, 0%, 76.6%, 56.5%)
CIE-LABlab(43.05, -24.43, 41.17)
CIE-LCHlch(43.05, 47.87, 120.68°)
OKLaboklab(50.08% -0.0701 0.092)
OKLCHoklch(50.08% 0.116 127.3)
XYZxyz(9.2643, 13.1926, 3.0354)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F1A #381A6F
analogous
#6F631A #516F1A #276F1A
triadic
#516F1A #1A516F #6F1A51
tetradic
#516F1A #1A6F63 #381A6F #6F1A27
square
#516F1A #1A6F63 #381A6F #6F1A27
split-complementary
#516F1A #1A276F #631A6F
monochromatic
#121906 #2D3D0E #516F1A #75A126 #99CF34

Accessibility & contrast

On white

5.77
#516F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#516F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F1A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F1A#FFFFFF#000000##FFFFFF
##516F1A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670A
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f1a;
/* rgb */ color: rgb(81, 111, 26);
/* oklch */ color: oklch(50.1% 0.116 127.3);
Tailwind
colors: {
  custom: {
    50: '#85985d',
    500: '#516f1a',
    950: '#000000',
  },
}
SCSS
$custom: #516f1a;
$custom-light: #85985d;
$custom-dark: #000000;
JSON
{
  "hex": "#516f1a",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 81.176,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.11564,
    "h": 127.3
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

primary
#516F1A
secondary
#6441A4
accent
#43E57C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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