#516B1C#516B1C

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

Color values

HEX#516B1C
RGBrgb(81, 107, 28)
HSLhsl(80, 59%, 26%)
HSVhsv(80, 74%, 42%)
CMYKcmyk(24.3%, 0%, 73.8%, 58%)
CIE-LABlab(41.76, -22.27, 39.09)
CIE-LCHlch(41.76, 44.99, 119.67°)
OKLaboklab(49.04% -0.064 0.0879)
OKLCHoklch(49.04% 0.109 126.1)
XYZxyz(8.8607, 12.3484, 3.0150)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B1C #361C6B
analogous
#6B5E1C #516B1C #2A6B1C
triadic
#516B1C #1C516B #6B1C51
tetradic
#516B1C #1C6B5E #361C6B #6B1C2A
square
#516B1C #1C6B5E #361C6B #6B1C2A
split-complementary
#516B1C #1C2A6B #5E1C6B
monochromatic
#121806 #2C3A0F #516B1C #769C29 #9ACB37

Accessibility & contrast

On white

6.05
#516B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516B1C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B1C#FFFFFF#000000##FFFFFF
##516B1C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640F
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#55665B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b1c;
/* rgb */ color: rgb(81, 107, 28);
/* oklch */ color: oklch(49.0% 0.109 126.1);
Tailwind
colors: {
  custom: {
    50: '#85955e',
    500: '#516b1c',
    950: '#000000',
  },
}
SCSS
$custom: #516b1c;
$custom-light: #85955e;
$custom-dark: #000000;
JSON
{
  "hex": "#516b1c",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 28
  },
  "hsl": {
    "h": 79.747,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.10876,
    "h": 126.1
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#516B1C
secondary
#6243A0
accent
#46E279
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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