#516A26#516A26

#516A26 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.9% C 0.099 H 126.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#516A26
RGBrgb(81, 106, 38)
HSLhsl(82, 47%, 28%)
HSVhsv(82, 64%, 42%)
CMYKcmyk(23.6%, 0%, 64.2%, 58.4%)
CIE-LABlab(41.53, -20.94, 34.30)
CIE-LCHlch(41.53, 40.18, 121.41°)
OKLaboklab(48.88% -0.0594 0.0793)
OKLCHoklch(48.88% 0.099 126.8)
XYZxyz(8.8972, 12.1972, 3.7189)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A26 #3F266A
analogous
#6A6126 #516A26 #2F6A26
triadic
#516A26 #26516A #6A2651
tetradic
#516A26 #266A61 #3F266A #6A262F
square
#516A26 #266A61 #3F266A #6A262F
split-complementary
#516A26 #262F6A #61266A
monochromatic
#111708 #2F3D16 #516A26 #739736 #94BF4C

Accessibility & contrast

On white

6.11
#516A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#516A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A26
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A26#FFFFFF#000000##FFFFFF
##516A261.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F631E
Deuteranopia (green-blind)
#6C622B
Tritanopia (blue-blind)
#54655C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a26;
/* rgb */ color: rgb(81, 106, 38);
/* oklch */ color: oklch(48.9% 0.099 126.8);
Tailwind
colors: {
  custom: {
    50: '#849463',
    500: '#516a26',
    950: '#000000',
  },
}
SCSS
$custom: #516a26;
$custom-light: #849463;
$custom-dark: #000000;
JSON
{
  "hex": "#516a26",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 82.059,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.09907,
    "h": 126.8
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#516A26
secondary
#6C4F9D
accent
#51D782
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516A26

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

Preview Lab → · Contrast checker → · Palette generator →

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