#506C19#506C19

#506C19 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.2% C 0.113 H 126.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#506C19
RGBrgb(80, 108, 25)
HSLhsl(80, 62%, 26%)
HSVhsv(80, 77%, 42%)
CMYKcmyk(25.9%, 0%, 76.9%, 57.6%)
CIE-LABlab(42.00, -23.41, 40.51)
CIE-LCHlch(42.00, 46.79, 120.03°)
OKLaboklab(49.21% -0.0674 0.0904)
OKLCHoklch(49.21% 0.113 126.7)
XYZxyz(8.8463, 12.5006, 2.8663)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506C19 #35196C
analogous
#6C5E19 #506C19 #266C19
triadic
#506C19 #19506C #6C1950
tetradic
#506C19 #196C5E #35196C #6C1926
square
#506C19 #196C5E #35196C #6C1926
split-complementary
#506C19 #19266C #5E196C
monochromatic
#121906 #2B3A0D #506C19 #759E25 #9ACF30

Accessibility & contrast

On white

6.00
#506C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#506C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506C19
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506C19#FFFFFF#000000##FFFFFF
##506C191.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726409
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#53675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #506c19;
/* rgb */ color: rgb(80, 108, 25);
/* oklch */ color: oklch(49.2% 0.113 126.7);
Tailwind
colors: {
  custom: {
    50: '#84965c',
    500: '#506c19',
    950: '#000000',
  },
}
SCSS
$custom: #506c19;
$custom-light: #84965c;
$custom-dark: #000000;
JSON
{
  "hex": "#506c19",
  "rgb": {
    "r": 80,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 80.241,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49207,
    "c": 0.11275,
    "h": 126.7
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#506C19
secondary
#603FA1
accent
#42E579
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506C19

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

Preview Lab → · Contrast checker → · Palette generator →

#506C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva