#506A13#506A13

#506A13 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.114 H 125.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#506A13
RGBrgb(80, 106, 19)
HSLhsl(78, 70%, 25%)
HSVhsv(78, 82%, 42%)
CMYKcmyk(24.5%, 0%, 82.1%, 58.4%)
CIE-LABlab(41.31, -22.74, 42.03)
CIE-LCHlch(41.31, 47.79, 118.41°)
OKLaboklab(48.64% -0.066 0.0925)
OKLCHoklch(48.64% 0.114 125.5)
XYZxyz(8.5799, 12.0604, 2.4918)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506A13 #2D136A
analogous
#6A5913 #506A13 #256A13
triadic
#506A13 #13506A #6A1350
tetradic
#506A13 #136A59 #2D136A #6A1325
square
#506A13 #136A59 #2D136A #6A1325
split-complementary
#506A13 #13256A #59136A
monochromatic
#141A05 #29360A #506A13 #779E1C #9ED226

Accessibility & contrast

On white

6.15
#506A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#506A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506A13
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506A13#FFFFFF#000000##FFFFFF
##506A131.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#54655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #506a13;
/* rgb */ color: rgb(80, 106, 19);
/* oklch */ color: oklch(48.6% 0.114 125.5);
Tailwind
colors: {
  custom: {
    50: '#849459',
    500: '#506a13',
    950: '#000000',
  },
}
SCSS
$custom: #506a13;
$custom-light: #849459;
$custom-dark: #000000;
JSON
{
  "hex": "#506a13",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 77.931,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.1137,
    "h": 125.5
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#506A13
secondary
#5738A1
accent
#3BEC70
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506A13

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

Preview Lab → · Contrast checker → · Palette generator →

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