#506F14#506F14

#506F14 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.120 H 127.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#506F14
RGBrgb(80, 111, 20)
HSLhsl(80, 69%, 26%)
HSVhsv(80, 82%, 44%)
CMYKcmyk(27.9%, 0%, 82%, 56.5%)
CIE-LABlab(42.95, -25.20, 43.21)
CIE-LCHlch(42.95, 50.02, 120.25°)
OKLaboklab(49.97% -0.0727 0.0952)
OKLCHoklch(49.97% 0.12 127.3)
XYZxyz(9.1190, 13.1247, 2.7146)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506F14 #33146F
analogous
#6F6014 #506F14 #226F14
triadic
#506F14 #14506F #6F1450
tetradic
#506F14 #146F60 #33146F #6F1422
square
#506F14 #146F60 #33146F #6F1422
split-complementary
#506F14 #14226F #60146F
monochromatic
#131A05 #2B3B0B #506F14 #75A31D #9BD727

Accessibility & contrast

On white

5.79
#506F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#506F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506F14
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506F14#FFFFFF#000000##FFFFFF
##506F141.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#536A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #506f14;
/* rgb */ color: rgb(80, 111, 20);
/* oklch */ color: oklch(50.0% 0.120 127.3);
Tailwind
colors: {
  custom: {
    50: '#84985a',
    500: '#506f14',
    950: '#000000',
  },
}
SCSS
$custom: #506f14;
$custom-light: #84985a;
$custom-dark: #000000;
JSON
{
  "hex": "#506f14",
  "rgb": {
    "r": 80,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 80.44,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.11978,
    "h": 127.3
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#506F14
secondary
#5E39A6
accent
#3CEC78
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506F14

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

Preview Lab → · Contrast checker → · Palette generator →

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