#505D13#505D13

#505D13 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.2% C 0.097 H 119.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#505D13
RGBrgb(80, 93, 19)
HSLhsl(71, 66%, 22%)
HSVhsv(71, 80%, 36%)
CMYKcmyk(14%, 0%, 79.6%, 63.5%)
CIE-LABlab(37.08, -15.87, 38.06)
CIE-LCHlch(37.08, 41.24, 112.63°)
OKLaboklab(45.22% -0.0472 0.0842)
OKLCHoklch(45.22% 0.097 119.3)
XYZxyz(7.3403, 9.5812, 2.0786)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505D13 #20135D
analogous
#5D4513 #505D13 #2B5D13
triadic
#505D13 #13505D #5D1350
tetradic
#505D13 #135D45 #20135D #5D132B
square
#505D13 #135D45 #20135D #5D132B
split-complementary
#505D13 #132B5D #45135D
monochromatic
#161905 #242A09 #505D13 #7C901D #A7C328

Accessibility & contrast

On white

7.20
#505D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#505D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505D13
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505D13#FFFFFF#000000##FFFFFF
##505D131.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635704
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#55584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505d13;
/* rgb */ color: rgb(80, 93, 19);
/* oklch */ color: oklch(45.2% 0.097 119.3);
Tailwind
colors: {
  custom: {
    50: '#848a57',
    500: '#505d13',
    950: '#000000',
  },
}
SCSS
$custom: #505d13;
$custom-light: #848a57;
$custom-dark: #000000;
JSON
{
  "hex": "#505d13",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 70.541,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.09653,
    "h": 119.3
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#505D13
secondary
#473795
accent
#3FE95D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505D13

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

Preview Lab → · Contrast checker → · Palette generator →

#505D13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva