#516B1A#516B1A

#516B1A is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.110 H 125.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#516B1A
RGBrgb(81, 107, 26)
HSLhsl(79, 61%, 26%)
HSVhsv(79, 76%, 42%)
CMYKcmyk(24.3%, 0%, 75.7%, 58%)
CIE-LABlab(41.75, -22.41, 39.89)
CIE-LCHlch(41.75, 45.75, 119.32°)
OKLaboklab(49.02% -0.0646 0.0893)
OKLCHoklch(49.02% 0.11 125.9)
XYZxyz(8.8375, 12.3392, 2.8932)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B1A #341A6B
analogous
#6B5C1A #516B1A #286B1A
triadic
#516B1A #1A516B #6B1A51
tetradic
#516B1A #1A6B5C #341A6B #6B1A28
square
#516B1A #1A6B5C #341A6B #6B1A28
split-complementary
#516B1A #1A286B #5C1A6B
monochromatic
#131906 #2C3A0E #516B1A #769C26 #9BCD32

Accessibility & contrast

On white

6.06
#516B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#516B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B1A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B1A#FFFFFF#000000##FFFFFF
##516B1A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630B
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#55665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516b1a;
/* rgb */ color: rgb(81, 107, 26);
/* oklch */ color: oklch(49.0% 0.110 125.9);
Tailwind
colors: {
  custom: {
    50: '#85955d',
    500: '#516b1a',
    950: '#000000',
  },
}
SCSS
$custom: #516b1a;
$custom-light: #85955d;
$custom-dark: #000000;
JSON
{
  "hex": "#516b1a",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 79.259,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.11018,
    "h": 125.9
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#516B1A
secondary
#5F40A0
accent
#44E477
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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