#506D16#506D16

#506D16 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.5% C 0.116 H 126.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#506D16
RGBrgb(80, 109, 22)
HSLhsl(80, 66%, 26%)
HSVhsv(80, 80%, 43%)
CMYKcmyk(26.6%, 0%, 79.8%, 57.3%)
CIE-LABlab(42.31, -24.09, 41.92)
CIE-LCHlch(42.31, 48.35, 119.89°)
OKLaboklab(49.45% -0.0695 0.0929)
OKLCHoklch(49.45% 0.116 126.8)
XYZxyz(8.9218, 12.7005, 2.7403)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506D16 #33166D
analogous
#6D5E16 #506D16 #246D16
triadic
#506D16 #16506D #6D1650
tetradic
#506D16 #166D5E #33166D #6D1624
square
#506D16 #166D5E #33166D #6D1624
split-complementary
#506D16 #16246D #5E166D
monochromatic
#131905 #2B3A0C #506D16 #75A020 #9BD32B

Accessibility & contrast

On white

5.93
#506D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#506D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506D16
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506D16#FFFFFF#000000##FFFFFF
##506D161.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#53685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #506d16;
/* rgb */ color: rgb(80, 109, 22);
/* oklch */ color: oklch(49.5% 0.116 126.8);
Tailwind
colors: {
  custom: {
    50: '#84975b',
    500: '#506d16',
    950: '#000000',
  },
}
SCSS
$custom: #506d16;
$custom-light: #84975b;
$custom-dark: #000000;
JSON
{
  "hex": "#506d16",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 80,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.11597,
    "h": 126.8
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#506D16
secondary
#5E3CA3
accent
#3EE977
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506D16

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

Preview Lab → · Contrast checker → · Palette generator →

#506D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva