#50400C#50400C

#50400C is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.8% C 0.070 H 90.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#50400C
RGBrgb(80, 64, 12)
HSLhsl(46, 74%, 18%)
HSVhsv(46, 85%, 31%)
CMYKcmyk(0%, 20%, 85%, 68.6%)
CIE-LABlab(27.84, 0.94, 32.15)
CIE-LCHlch(27.84, 32.17, 88.33°)
OKLaboklab(37.83% -0.0009 0.0702)
OKLCHoklch(37.83% 0.07 90.7)
XYZxyz(5.2083, 5.3991, 1.1156)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50400C #0C1C50
analogous
#501E0C #50400C #3E500C
triadic
#50400C #0C5040 #400C50
tetradic
#50400C #0C501E #0C1C50 #500C3E
square
#50400C #0C501E #0C1C50 #500C3E
split-complementary
#50400C #0C3E50 #1E0C50
monochromatic
#1B1504 #1B1504 #50400C #856B14 #BA951C

Accessibility & contrast

On white

10.10
#50400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#50400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50400C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50400C#FFFFFF#000000##FFFFFF
##50400C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F04
Deuteranopia (green-blind)
#4C440F
Tritanopia (blue-blind)
#573A36
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50400c;
/* rgb */ color: rgb(80, 64, 12);
/* oklch */ color: oklch(37.8% 0.070 90.7);
Tailwind
colors: {
  custom: {
    50: '#84744f',
    500: '#50400c',
    950: '#000000',
  },
}
SCSS
$custom: #50400c;
$custom-light: #84744f;
$custom-dark: #000000;
JSON
{
  "hex": "#50400c",
  "rgb": {
    "r": 80,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 45.882,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37834,
    "c": 0.07016,
    "h": 90.7
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#50400C
secondary
#2C438B
accent
#63F137
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #50400C

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

Preview Lab → · Contrast checker → · Palette generator →

#50400C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva