#506B16#506B16

#506B16 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 48.9% C 0.113 H 126.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#506B16
RGBrgb(80, 107, 22)
HSLhsl(79, 66%, 25%)
HSVhsv(79, 79%, 42%)
CMYKcmyk(25.2%, 0%, 79.4%, 58%)
CIE-LABlab(41.66, -23.09, 41.30)
CIE-LCHlch(41.66, 47.32, 119.20°)
OKLaboklab(48.92% -0.0667 0.0916)
OKLCHoklch(48.92% 0.113 126.1)
XYZxyz(8.7108, 12.2787, 2.6700)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506B16 #31166B
analogous
#6B5B16 #506B16 #256B16
triadic
#506B16 #16506B #6B1650
tetradic
#506B16 #166B5B #31166B #6B1625
square
#506B16 #166B5B #31166B #6B1625
split-complementary
#506B16 #16256B #5B166B
monochromatic
#131905 #2A380C #506B16 #769E20 #9CD12B

Accessibility & contrast

On white

6.08
#506B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#506B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506B16
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506B16#FFFFFF#000000##FFFFFF
##506B161.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#54665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #506b16;
/* rgb */ color: rgb(80, 107, 22);
/* oklch */ color: oklch(48.9% 0.113 126.1);
Tailwind
colors: {
  custom: {
    50: '#84955b',
    500: '#506b16',
    950: '#000000',
  },
}
SCSS
$custom: #506b16;
$custom-light: #84955b;
$custom-dark: #000000;
JSON
{
  "hex": "#506b16",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 79.059,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.11329,
    "h": 126.1
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#506B16
secondary
#5C3BA1
accent
#3FE975
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506B16

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

Preview Lab → · Contrast checker → · Palette generator →

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