#506E13#506E13

#506E13 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.7% C 0.119 H 126.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#506E13
RGBrgb(80, 110, 19)
HSLhsl(80, 71%, 25%)
HSVhsv(80, 83%, 43%)
CMYKcmyk(27.3%, 0%, 82.7%, 56.9%)
CIE-LABlab(42.62, -24.75, 43.23)
CIE-LCHlch(42.62, 49.82, 119.79°)
OKLaboklab(49.7% -0.0715 0.0951)
OKLCHoklch(49.7% 0.119 126.9)
XYZxyz(9.0018, 12.9042, 2.6325)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506E13 #31136E
analogous
#6E5E13 #506E13 #236E13
triadic
#506E13 #13506E #6E1350
tetradic
#506E13 #136E5E #31136E #6E1323
square
#506E13 #136E5E #31136E #6E1323
split-complementary
#506E13 #13236E #5E136E
monochromatic
#131A05 #2A3A0A #506E13 #76A21C #9CD625

Accessibility & contrast

On white

5.86
#506E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#506E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506E13
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506E13#FFFFFF#000000##FFFFFF
##506E131.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#54685D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #506e13;
/* rgb */ color: rgb(80, 110, 19);
/* oklch */ color: oklch(49.7% 0.119 126.9);
Tailwind
colors: {
  custom: {
    50: '#84975a',
    500: '#506e13',
    950: '#000000',
  },
}
SCSS
$custom: #506e13;
$custom-light: #84975a;
$custom-dark: #000000;
JSON
{
  "hex": "#506e13",
  "rgb": {
    "r": 80,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 79.78,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.11898,
    "h": 126.9
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#506E13
secondary
#5C38A5
accent
#3AED75
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506E13

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

Preview Lab → · Contrast checker → · Palette generator →

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