#516B26#516B26

#516B26 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.101 H 127.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#516B26
RGBrgb(81, 107, 38)
HSLhsl(83, 48%, 28%)
HSVhsv(83, 64%, 42%)
CMYKcmyk(24.3%, 0%, 64.5%, 58%)
CIE-LABlab(41.85, -21.46, 34.65)
CIE-LCHlch(41.85, 40.76, 121.77°)
OKLaboklab(49.14% -0.0608 0.0801)
OKLCHoklch(49.14% 0.101 127.2)
XYZxyz(9.0009, 12.4045, 3.7534)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B26 #40266B
analogous
#6B6226 #516B26 #2E6B26
triadic
#516B26 #26516B #6B2651
tetradic
#516B26 #266B62 #40266B #6B262E
square
#516B26 #266B62 #40266B #6B262E
split-complementary
#516B26 #262E6B #62266B
monochromatic
#111708 #2F3E16 #516B26 #739836 #94BF4C

Accessibility & contrast

On white

6.03
#516B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#516B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B26
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B26#FFFFFF#000000##FFFFFF
##516B261.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70641E
Deuteranopia (green-blind)
#6D622B
Tritanopia (blue-blind)
#54665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b26;
/* rgb */ color: rgb(81, 107, 38);
/* oklch */ color: oklch(49.1% 0.101 127.2);
Tailwind
colors: {
  custom: {
    50: '#849563',
    500: '#516b26',
    950: '#000000',
  },
}
SCSS
$custom: #516b26;
$custom-light: #849563;
$custom-dark: #000000;
JSON
{
  "hex": "#516b26",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 38
  },
  "hsl": {
    "h": 82.609,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.10054,
    "h": 127.2
  },
  "luminance": 0.12405
}

Semantic roles & 50–950 ramp

primary
#516B26
secondary
#6D4F9E
accent
#51D783
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516B26

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

Preview Lab → · Contrast checker → · Palette generator →

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