#505014#505014

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

Color values

HEX#505014
RGBrgb(80, 80, 20)
HSLhsl(60, 60%, 20%)
HSVhsv(60, 75%, 31%)
CMYKcmyk(0%, 0%, 75%, 68.6%)
CIE-LABlab(32.91, -8.41, 33.60)
CIE-LCHlch(32.91, 34.63, 104.05°)
OKLaboklab(41.87% -0.0264 0.075)
OKLCHoklch(41.87% 0.079 109.4)
XYZxyz(6.3034, 7.4935, 1.7760)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505014 #141450
analogous
#503214 #505014 #325014
triadic
#505014 #145050 #501450
tetradic
#505014 #145032 #141450 #501432
square
#505014 #145032 #141450 #501432
split-complementary
#505014 #143250 #321450
monochromatic
#181806 #1F1F08 #505014 #818120 #B2B22C

Accessibility & contrast

On white

8.40
#505014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505014
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505014#FFFFFF#000000##FFFFFF
##5050141.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #505014;
/* rgb */ color: rgb(80, 80, 20);
/* oklch */ color: oklch(41.9% 0.079 109.4);
Tailwind
colors: {
  custom: {
    50: '#838056',
    500: '#505014',
    950: '#000000',
  },
}
SCSS
$custom: #505014;
$custom-light: #838056;
$custom-dark: #000000;
JSON
{
  "hex": "#505014",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.07948,
    "h": 109.4
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#505014
secondary
#383888
accent
#45E345
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505014

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

Preview Lab → · Contrast checker → · Palette generator →

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