#506017#506017

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

Color values

HEX#506017
RGBrgb(80, 96, 23)
HSLhsl(73, 61%, 23%)
HSVhsv(73, 76%, 38%)
CMYKcmyk(16.7%, 0%, 76%, 62.4%)
CIE-LABlab(38.08, -17.26, 37.45)
CIE-LCHlch(38.08, 41.24, 114.75°)
OKLaboklab(46.03% -0.0507 0.0836)
OKLCHoklch(46.03% 0.098 121.2)
XYZxyz(7.6459, 10.1331, 2.3635)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506017 #271760
analogous
#604B17 #506017 #2B6017
triadic
#506017 #175060 #601750
tetradic
#506017 #17604B #271760 #60172B
square
#506017 #17604B #271760 #60172B
split-complementary
#506017 #172B60 #4B1760
monochromatic
#151906 #272F0B #506017 #799123 #A2C32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##506017#FFFFFF#000000##FFFFFF
##5060171.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)
#665A0A
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#555B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #506017;
/* rgb */ color: rgb(80, 96, 23);
/* oklch */ color: oklch(46.0% 0.098 121.2);
Tailwind
colors: {
  custom: {
    50: '#848d5a',
    500: '#506017',
    950: '#000000',
  },
}
SCSS
$custom: #506017;
$custom-light: #848d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#506017",
  "rgb": {
    "r": 80,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 73.151,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46031,
    "c": 0.0978,
    "h": 121.2
  },
  "luminance": 0.10133
}

Semantic roles & 50–950 ramp

primary
#506017
secondary
#503C97
accent
#43E467
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #506017

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

Preview Lab → · Contrast checker → · Palette generator →

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