#505010#505010

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

Color values

HEX#505010
RGBrgb(80, 80, 16)
HSLhsl(60, 67%, 19%)
HSVhsv(60, 80%, 31%)
CMYKcmyk(0%, 0%, 80%, 68.6%)
CIE-LABlab(32.88, -8.64, 35.24)
CIE-LCHlch(32.88, 36.29, 103.77°)
OKLaboklab(41.84% -0.0275 0.0776)
OKLCHoklch(41.84% 0.082 109.5)
XYZxyz(6.2707, 7.4804, 1.6037)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505010 #101050
analogous
#503010 #505010 #305010
triadic
#505010 #105050 #501050
tetradic
#505010 #105030 #101050 #501030
square
#505010 #105030 #101050 #501030
split-complementary
#505010 #103050 #301050
monochromatic
#1A1A05 #1D1D06 #505010 #83831A #B6B624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505010#FFFFFF#000000##FFFFFF
##5050101.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)
#574C04
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#564A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #505010;
/* rgb */ color: rgb(80, 80, 16);
/* oklch */ color: oklch(41.8% 0.082 109.5);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#505010',
    950: '#000000',
  },
}
SCSS
$custom: #505010;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#505010",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.08235,
    "h": 109.5
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#505010
secondary
#32328A
accent
#3EEA3E
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505010

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

Preview Lab → · Contrast checker → · Palette generator →

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