#50470D#50470D

#50470D is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.6% C 0.075 H 100.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#50470D
RGBrgb(80, 71, 13)
HSLhsl(52, 72%, 18%)
HSVhsv(52, 84%, 31%)
CMYKcmyk(0%, 11.2%, 83.7%, 68.6%)
CIE-LABlab(30.01, -3.38, 33.76)
CIE-LCHlch(30.01, 33.92, 95.71°)
OKLaboklab(39.55% -0.013 0.0738)
OKLCHoklch(39.55% 0.075 100)
XYZxyz(5.6344, 6.2413, 1.2886)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50470D #0D1650
analogous
#50250D #50470D #37500D
triadic
#50470D #0D5047 #470D50
tetradic
#50470D #0D5025 #0D1650 #500D37
square
#50470D #0D5025 #0D1650 #500D37
split-complementary
#50470D #0D3750 #250D50
monochromatic
#1A1704 #1B1804 #50470D #857616 #B9A41E

Accessibility & contrast

On white

9.34
#50470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#50470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50470D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50470D#FFFFFF#000000##FFFFFF
##50470D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4503
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#57413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50470d;
/* rgb */ color: rgb(80, 71, 13);
/* oklch */ color: oklch(39.6% 0.075 100.0);
Tailwind
colors: {
  custom: {
    50: '#847951',
    500: '#50470d',
    950: '#000000',
  },
}
SCSS
$custom: #50470d;
$custom-light: #847951;
$custom-dark: #000000;
JSON
{
  "hex": "#50470d",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 51.94,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.07495,
    "h": 100
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#50470D
secondary
#2E3A8B
accent
#51EF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #50470D

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

Preview Lab → · Contrast checker → · Palette generator →

#50470D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva