#506B14#506B14

#506B14 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#506B14
RGBrgb(80, 107, 20)
HSLhsl(79, 69%, 25%)
HSVhsv(79, 81%, 42%)
CMYKcmyk(25.2%, 0%, 81.3%, 58%)
CIE-LABlab(41.64, -23.20, 42.00)
CIE-LCHlch(41.64, 47.98, 118.91°)
OKLaboklab(48.91% -0.0672 0.0927)
OKLCHoklch(48.91% 0.114 126)
XYZxyz(8.6923, 12.2712, 2.5723)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506B14 #2F146B
analogous
#6B5B14 #506B14 #246B14
triadic
#506B14 #14506B #6B1450
tetradic
#506B14 #146B5B #2F146B #6B1424
square
#506B14 #146B5B #2F146B #6B1424
split-complementary
#506B14 #14246B #5B146B
monochromatic
#131A05 #29370A #506B14 #779F1E #9DD227

Accessibility & contrast

On white

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

On black

3.45
#506B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##506B14#FFFFFF#000000##FFFFFF
##506B141.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #506b14;
/* rgb */ color: rgb(80, 107, 20);
/* oklch */ color: oklch(48.9% 0.114 126.0);
Tailwind
colors: {
  custom: {
    50: '#84955a',
    500: '#506b14',
    950: '#000000',
  },
}
SCSS
$custom: #506b14;
$custom-light: #84955a;
$custom-dark: #000000;
JSON
{
  "hex": "#506b14",
  "rgb": {
    "r": 80,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 78.621,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.11447,
    "h": 126
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#506B14
secondary
#5A39A2
accent
#3CEB73
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506B14

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

Preview Lab → · Contrast checker → · Palette generator →

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