#506111#506111

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

Color values

HEX#506111
RGBrgb(80, 97, 17)
HSLhsl(73, 70%, 22%)
HSVhsv(73, 82%, 38%)
CMYKcmyk(17.5%, 0%, 82.5%, 62%)
CIE-LABlab(38.37, -18.14, 39.99)
CIE-LCHlch(38.37, 43.92, 114.40°)
OKLaboklab(46.25% -0.0536 0.0879)
OKLCHoklch(46.25% 0.103 121.4)
XYZxyz(7.6843, 10.2953, 2.1126)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506111 #221161
analogous
#614A11 #506111 #286111
triadic
#506111 #115061 #611150
tetradic
#506111 #11614A #221161 #611128
square
#506111 #11614A #221161 #611128
split-complementary
#506111 #112861 #4A1161
monochromatic
#151A05 #252D08 #506111 #7B951A #A6C923

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##506111#FFFFFF#000000##FFFFFF
##5061111.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)
#675B00
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#555B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #506111;
/* rgb */ color: rgb(80, 97, 17);
/* oklch */ color: oklch(46.3% 0.103 121.4);
Tailwind
colors: {
  custom: {
    50: '#848d57',
    500: '#506111',
    950: '#000000',
  },
}
SCSS
$custom: #506111;
$custom-light: #848d57;
$custom-dark: #000000;
JSON
{
  "hex": "#506111",
  "rgb": {
    "r": 80,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 72.75,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.10296,
    "h": 121.4
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#506111
secondary
#4A3499
accent
#3BED61
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #506111

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

Preview Lab → · Contrast checker → · Palette generator →

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