#506115#506115

#506115 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.101 H 121.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#506115
RGBrgb(80, 97, 21)
HSLhsl(73, 64%, 23%)
HSVhsv(73, 78%, 38%)
CMYKcmyk(17.5%, 0%, 78.4%, 62%)
CIE-LABlab(38.39, -17.92, 38.55)
CIE-LCHlch(38.39, 42.52, 114.94°)
OKLaboklab(46.28% -0.0527 0.0856)
OKLCHoklch(46.28% 0.101 121.6)
XYZxyz(7.7184, 10.3090, 2.2925)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506115 #261561
analogous
#614C15 #506115 #2A6115
triadic
#506115 #155061 #611550
tetradic
#506115 #15614C #261561 #61152A
square
#506115 #15614C #261561 #61152A
split-complementary
#506115 #152A61 #4C1561
monochromatic
#151905 #272F0A #506115 #799320 #A3C62B

Accessibility & contrast

On white

6.86
#506115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#506115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506115
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506115#FFFFFF#000000##FFFFFF
##5061151.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B06
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#555C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #506115;
/* rgb */ color: rgb(80, 97, 21);
/* oklch */ color: oklch(46.3% 0.101 121.6);
Tailwind
colors: {
  custom: {
    50: '#848e59',
    500: '#506115',
    950: '#000000',
  },
}
SCSS
$custom: #506115;
$custom-light: #848e59;
$custom-dark: #000000;
JSON
{
  "hex": "#506115",
  "rgb": {
    "r": 80,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 73.421,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.10051,
    "h": 121.6
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#506115
secondary
#4F3A98
accent
#40E766
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #506115

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

Preview Lab → · Contrast checker → · Palette generator →

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