#516B14#516B14

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

Color values

HEX#516B14
RGBrgb(81, 107, 20)
HSLhsl(78, 69%, 25%)
HSVhsv(78, 81%, 42%)
CMYKcmyk(24.3%, 0%, 81.3%, 58%)
CIE-LABlab(41.71, -22.76, 42.09)
CIE-LCHlch(41.71, 47.85, 118.40°)
OKLaboklab(48.98% -0.0661 0.0928)
OKLCHoklch(48.98% 0.114 125.4)
XYZxyz(8.7774, 12.3151, 2.5763)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B14 #2E146B
analogous
#6B5A14 #516B14 #266B14
triadic
#516B14 #14516B #6B1451
tetradic
#516B14 #146B5A #2E146B #6B1426
square
#516B14 #146B5A #2E146B #6B1426
split-complementary
#516B14 #14266B #5A146B
monochromatic
#141A05 #2A370A #516B14 #789F1E #9FD227

Accessibility & contrast

On white

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

On black

3.46
#516B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516B14#FFFFFF#000000##FFFFFF
##516B141.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516b14;
/* rgb */ color: rgb(81, 107, 20);
/* oklch */ color: oklch(49.0% 0.114 125.4);
Tailwind
colors: {
  custom: {
    50: '#85955a',
    500: '#516b14',
    950: '#000000',
  },
}
SCSS
$custom: #516b14;
$custom-light: #85955a;
$custom-dark: #000000;
JSON
{
  "hex": "#516b14",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 77.931,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.11394,
    "h": 125.4
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#516B14
secondary
#5839A2
accent
#3CEB71
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B14

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

Preview Lab → · Contrast checker → · Palette generator →

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