#516B18#516B18

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

Color values

HEX#516B18
RGBrgb(81, 107, 24)
HSLhsl(79, 63%, 26%)
HSVhsv(79, 78%, 42%)
CMYKcmyk(24.3%, 0%, 77.6%, 58%)
CIE-LABlab(41.74, -22.53, 40.66)
CIE-LCHlch(41.74, 46.48, 118.99°)
OKLaboklab(49.01% -0.0651 0.0905)
OKLCHoklch(49.01% 0.112 125.7)
XYZxyz(8.8160, 12.3305, 2.7795)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B18 #32186B
analogous
#6B5B18 #516B18 #276B18
triadic
#516B18 #18516B #6B1851
tetradic
#516B18 #186B5B #32186B #6B1827
square
#516B18 #186B5B #32186B #6B1827
split-complementary
#516B18 #18276B #5B186B
monochromatic
#131906 #2B390D #516B18 #779D23 #9DCF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516B18#FFFFFF#000000##FFFFFF
##516B181.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)
#716307
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#55665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516b18;
/* rgb */ color: rgb(81, 107, 24);
/* oklch */ color: oklch(49.0% 0.112 125.7);
Tailwind
colors: {
  custom: {
    50: '#85955c',
    500: '#516b18',
    950: '#000000',
  },
}
SCSS
$custom: #516b18;
$custom-light: #85955c;
$custom-dark: #000000;
JSON
{
  "hex": "#516b18",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 78.795,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.11151,
    "h": 125.7
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#516B18
secondary
#5D3EA1
accent
#41E675
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516B18

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

Preview Lab → · Contrast checker → · Palette generator →

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