#506B15#506B15

#506B15 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 48.9% C 0.114 H 126.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#506B15
RGBrgb(80, 107, 21)
HSLhsl(79, 67%, 25%)
HSVhsv(79, 80%, 42%)
CMYKcmyk(25.2%, 0%, 80.4%, 58%)
CIE-LABlab(41.65, -23.14, 41.65)
CIE-LCHlch(41.65, 47.65, 119.06°)
OKLaboklab(48.91% -0.067 0.0921)
OKLCHoklch(48.91% 0.114 126)
XYZxyz(8.7014, 12.2749, 2.6202)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506B15 #30156B
analogous
#6B5B15 #506B15 #256B15
triadic
#506B15 #15506B #6B1550
tetradic
#506B15 #156B5B #30156B #6B1525
square
#506B15 #156B5B #30156B #6B1525
split-complementary
#506B15 #15256B #5B156B
monochromatic
#131A05 #2A380B #506B15 #769E1F #9DD129

Accessibility & contrast

On white

6.08
#506B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#506B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506B15
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506B15#FFFFFF#000000##FFFFFF
##506B151.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#54665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #506b15;
/* rgb */ color: rgb(80, 107, 21);
/* oklch */ color: oklch(48.9% 0.114 126.0);
Tailwind
colors: {
  custom: {
    50: '#84955a',
    500: '#506b15',
    950: '#000000',
  },
}
SCSS
$custom: #506b15;
$custom-light: #84955a;
$custom-dark: #000000;
JSON
{
  "hex": "#506b15",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 78.837,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.1139,
    "h": 126
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#506B15
secondary
#5B3AA2
accent
#3EEA74
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506B15

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

Preview Lab → · Contrast checker → · Palette generator →

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