#50470F#50470F

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

Color values

HEX#50470F
RGBrgb(80, 71, 15)
HSLhsl(52, 68%, 19%)
HSVhsv(52, 81%, 31%)
CMYKcmyk(0%, 11.2%, 81.3%, 68.6%)
CIE-LABlab(30.03, -3.28, 32.95)
CIE-LCHlch(30.03, 33.11, 95.68°)
OKLaboklab(39.57% -0.0125 0.0726)
OKLCHoklch(39.57% 0.074 99.8)
XYZxyz(5.6480, 6.2467, 1.3601)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50470F #0F1850
analogous
#50260F #50470F #38500F
triadic
#50470F #0F5047 #470F50
tetradic
#50470F #0F5026 #0F1850 #500F38
square
#50470F #0F5026 #0F1850 #500F38
split-complementary
#50470F #0F3850 #260F50
monochromatic
#1A1705 #1C1905 #50470F #847519 #B7A222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50470F#FFFFFF#000000##FFFFFF
##50470F1.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)
#4F4506
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#57413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50470f;
/* rgb */ color: rgb(80, 71, 15);
/* oklch */ color: oklch(39.6% 0.074 99.8);
Tailwind
colors: {
  custom: {
    50: '#847952',
    500: '#50470f',
    950: '#000000',
  },
}
SCSS
$custom: #50470f;
$custom-light: #847952;
$custom-dark: #000000;
JSON
{
  "hex": "#50470f",
  "rgb": {
    "r": 80,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 51.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39567,
    "c": 0.07362,
    "h": 99.8
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#50470F
secondary
#313D8A
accent
#55EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #50470F

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

Preview Lab → · Contrast checker → · Palette generator →

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