#505A13#505A13

#505A13 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.4% C 0.093 H 117.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#505A13
RGBrgb(80, 90, 19)
HSLhsl(68, 65%, 21%)
HSVhsv(68, 79%, 35%)
CMYKcmyk(11.1%, 0%, 78.9%, 64.7%)
CIE-LABlab(36.11, -14.21, 37.14)
CIE-LCHlch(36.11, 39.76, 110.94°)
OKLaboklab(44.44% -0.0426 0.0822)
OKLCHoklch(44.44% 0.093 117.4)
XYZxyz(7.0821, 9.0649, 1.9926)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A13 #1D135A
analogous
#5A4113 #505A13 #2D5A13
triadic
#505A13 #13505A #5A1350
tetradic
#505A13 #135A41 #1D135A #5A132D
square
#505A13 #135A41 #1D135A #5A132D
split-complementary
#505A13 #132D5A #41135A
monochromatic
#161905 #232708 #505A13 #7D8D1E #AABF28

Accessibility & contrast

On white

7.47
#505A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#505A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505A13
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505A13#FFFFFF#000000##FFFFFF
##505A131.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#55554C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #505a13;
/* rgb */ color: rgb(80, 90, 19);
/* oklch */ color: oklch(44.4% 0.093 117.4);
Tailwind
colors: {
  custom: {
    50: '#848857',
    500: '#505a13',
    950: '#000000',
  },
}
SCSS
$custom: #505a13;
$custom-light: #848857;
$custom-dark: #000000;
JSON
{
  "hex": "#505a13",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 68.451,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.09263,
    "h": 117.4
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#505A13
secondary
#443792
accent
#40E857
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505A13

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

Preview Lab → · Contrast checker → · Palette generator →

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