#506911#506911

#506911 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.4% C 0.113 H 125.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#506911
RGBrgb(80, 105, 17)
HSLhsl(77, 72%, 24%)
HSVhsv(77, 84%, 41%)
CMYKcmyk(23.8%, 0%, 83.8%, 58.8%)
CIE-LABlab(40.98, -22.33, 42.38)
CIE-LCHlch(40.98, 47.90, 117.78°)
OKLaboklab(48.36% -0.0651 0.0929)
OKLCHoklch(48.36% 0.113 125)
XYZxyz(8.4611, 11.8490, 2.3715)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506911 #2A1169
analogous
#695611 #506911 #246911
triadic
#506911 #115069 #691150
tetradic
#506911 #116956 #2A1169 #691124
square
#506911 #116956 #2A1169 #691124
split-complementary
#506911 #112469 #561169
monochromatic
#141A04 #283408 #506911 #789E1A #A0D222

Accessibility & contrast

On white

6.23
#506911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#506911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506911
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506911#FFFFFF#000000##FFFFFF
##5069111.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#546359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #506911;
/* rgb */ color: rgb(80, 105, 17);
/* oklch */ color: oklch(48.4% 0.113 125.0);
Tailwind
colors: {
  custom: {
    50: '#849458',
    500: '#506911',
    950: '#000000',
  },
}
SCSS
$custom: #506911;
$custom-light: #849458;
$custom-dark: #000000;
JSON
{
  "hex": "#506911",
  "rgb": {
    "r": 80,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 77.045,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.11345,
    "h": 125
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#506911
secondary
#5435A1
accent
#39EF6D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506911

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

Preview Lab → · Contrast checker → · Palette generator →

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