#506015#506015

#506015 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.0% C 0.099 H 121.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#506015
RGBrgb(80, 96, 21)
HSLhsl(73, 64%, 23%)
HSVhsv(73, 78%, 38%)
CMYKcmyk(16.7%, 0%, 78.1%, 62.4%)
CIE-LABlab(38.07, -17.39, 38.24)
CIE-LCHlch(38.07, 42.01, 114.45°)
OKLaboklab(46.02% -0.0512 0.0849)
OKLCHoklch(46.02% 0.099 121.1)
XYZxyz(7.6266, 10.1254, 2.2619)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506015 #251560
analogous
#604A15 #506015 #2A6015
triadic
#506015 #155060 #601550
tetradic
#506015 #15604A #251560 #60152A
square
#506015 #15604A #251560 #60152A
split-complementary
#506015 #152A60 #4A1560
monochromatic
#151905 #262E0A #506015 #7A9220 #A4C42B

Accessibility & contrast

On white

6.94
#506015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#506015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506015
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506015#FFFFFF#000000##FFFFFF
##5060151.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#645A1C
Tritanopia (blue-blind)
#555B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #506015;
/* rgb */ color: rgb(80, 96, 21);
/* oklch */ color: oklch(46.0% 0.099 121.1);
Tailwind
colors: {
  custom: {
    50: '#848d59',
    500: '#506015',
    950: '#000000',
  },
}
SCSS
$custom: #506015;
$custom-light: #848d59;
$custom-dark: #000000;
JSON
{
  "hex": "#506015",
  "rgb": {
    "r": 80,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 72.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.09918,
    "h": 121.1
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#506015
secondary
#4E3A97
accent
#41E764
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #506015

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

Preview Lab → · Contrast checker → · Palette generator →

#506015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva