#50470E#50470E

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

Color values

HEX#50470E
RGBrgb(80, 71, 14)
HSLhsl(52, 70%, 18%)
HSVhsv(52, 83%, 31%)
CMYKcmyk(0%, 11.2%, 82.5%, 68.6%)
CIE-LABlab(30.02, -3.33, 33.36)
CIE-LCHlch(30.02, 33.53, 95.70°)
OKLaboklab(39.56% -0.0128 0.0732)
OKLCHoklch(39.56% 0.074 99.9)
XYZxyz(5.6410, 6.2439, 1.3234)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50470E #0E1750
analogous
#50260E #50470E #38500E
triadic
#50470E #0E5047 #470E50
tetradic
#50470E #0E5026 #0E1750 #500E38
square
#50470E #0E5026 #0E1750 #500E38
split-complementary
#50470E #0E3850 #260E50
monochromatic
#1A1705 #1C1905 #50470E #847517 #B8A320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50470E#FFFFFF#000000##FFFFFF
##50470E1.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)
#4F4504
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#57413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50470e;
/* rgb */ color: rgb(80, 71, 14);
/* oklch */ color: oklch(39.6% 0.074 99.9);
Tailwind
colors: {
  custom: {
    50: '#847952',
    500: '#50470e',
    950: '#000000',
  },
}
SCSS
$custom: #50470e;
$custom-light: #847952;
$custom-dark: #000000;
JSON
{
  "hex": "#50470e",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 51.818,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3956,
    "c": 0.0743,
    "h": 99.9
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#50470E
secondary
#2F3C8B
accent
#53ED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #50470E

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

Preview Lab → · Contrast checker → · Palette generator →

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