#506D15#506D15

#506D15 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.117 H 126.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#506D15
RGBrgb(80, 109, 21)
HSLhsl(80, 68%, 25%)
HSVhsv(80, 81%, 43%)
CMYKcmyk(26.6%, 0%, 80.7%, 57.3%)
CIE-LABlab(42.30, -24.15, 42.27)
CIE-LCHlch(42.30, 48.68, 119.74°)
OKLaboklab(49.44% -0.0697 0.0934)
OKLCHoklch(49.44% 0.117 126.7)
XYZxyz(8.9123, 12.6967, 2.6905)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506D15 #32156D
analogous
#6D5E15 #506D15 #246D15
triadic
#506D15 #15506D #6D1550
tetradic
#506D15 #156D5E #32156D #6D1524
square
#506D15 #156D5E #32156D #6D1524
split-complementary
#506D15 #15246D #5E156D
monochromatic
#131A05 #2A3A0B #506D15 #76A01F #9BD429

Accessibility & contrast

On white

5.93
#506D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#506D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506D15
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506D15#FFFFFF#000000##FFFFFF
##506D151.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#54685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #506d15;
/* rgb */ color: rgb(80, 109, 21);
/* oklch */ color: oklch(49.4% 0.117 126.7);
Tailwind
colors: {
  custom: {
    50: '#84975a',
    500: '#506d15',
    950: '#000000',
  },
}
SCSS
$custom: #506d15;
$custom-light: #84975a;
$custom-dark: #000000;
JSON
{
  "hex": "#506d15",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 79.773,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.11657,
    "h": 126.7
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#506D15
secondary
#5D3AA3
accent
#3DEB76
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506D15

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

Preview Lab → · Contrast checker → · Palette generator →

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