#505013#505013

#505013 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.080 H 109.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#505013
RGBrgb(80, 80, 19)
HSLhsl(60, 62%, 19%)
HSVhsv(60, 76%, 31%)
CMYKcmyk(0%, 0%, 76.3%, 68.6%)
CIE-LABlab(32.90, -8.47, 34.03)
CIE-LCHlch(32.90, 35.06, 103.98°)
OKLaboklab(41.86% -0.0267 0.0757)
OKLCHoklch(41.86% 0.08 109.4)
XYZxyz(6.2947, 7.4900, 1.7301)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505013 #131350
analogous
#503213 #505013 #325013
triadic
#505013 #135050 #501350
tetradic
#505013 #135032 #131350 #501332
square
#505013 #135032 #131350 #501332
split-complementary
#505013 #133250 #321350
monochromatic
#191906 #1F1F07 #505013 #81811F #B3B32A

Accessibility & contrast

On white

8.41
#505013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#505013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505013
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505013#FFFFFF#000000##FFFFFF
##5050131.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C09
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#564A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #505013;
/* rgb */ color: rgb(80, 80, 19);
/* oklch */ color: oklch(41.9% 0.080 109.4);
Tailwind
colors: {
  custom: {
    50: '#838055',
    500: '#505013',
    950: '#000000',
  },
}
SCSS
$custom: #505013;
$custom-light: #838055;
$custom-dark: #000000;
JSON
{
  "hex": "#505013",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 60,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.08023,
    "h": 109.4
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#505013
secondary
#363689
accent
#43E543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505013

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

Preview Lab → · Contrast checker → · Palette generator →

#505013 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva