#506010#506010

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

Color values

HEX#506010
RGBrgb(80, 96, 16)
HSLhsl(72, 71%, 22%)
HSVhsv(72, 83%, 38%)
CMYKcmyk(16.7%, 0%, 83.3%, 62.4%)
CIE-LABlab(38.04, -17.65, 40.03)
CIE-LCHlch(38.04, 43.75, 113.80°)
OKLaboklab(45.98% -0.0524 0.0878)
OKLCHoklch(45.98% 0.102 120.8)
XYZxyz(7.5848, 10.1086, 2.0417)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506010 #201060
analogous
#604810 #506010 #286010
triadic
#506010 #105060 #601050
tetradic
#506010 #106048 #201060 #601028
square
#506010 #106048 #201060 #601028
split-complementary
#506010 #102860 #481060
monochromatic
#161A04 #242C07 #506010 #7C9419 #A7C921

Accessibility & contrast

On white

6.95
#506010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#506010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506010
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506010#FFFFFF#000000##FFFFFF
##5060101.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#655A18
Tritanopia (blue-blind)
#555A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #506010;
/* rgb */ color: rgb(80, 96, 16);
/* oklch */ color: oklch(46.0% 0.102 120.8);
Tailwind
colors: {
  custom: {
    50: '#848d56',
    500: '#506010',
    950: '#000000',
  },
}
SCSS
$custom: #506010;
$custom-light: #848d56;
$custom-dark: #000000;
JSON
{
  "hex": "#506010",
  "rgb": {
    "r": 80,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 72,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.10222,
    "h": 120.8
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#506010
secondary
#473399
accent
#3AEE5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #506010

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

Preview Lab → · Contrast checker → · Palette generator →

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