#50481C#50481C

#50481C is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.063 H 99.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#50481C
RGBrgb(80, 72, 28)
HSLhsl(51, 48%, 21%)
HSVhsv(51, 65%, 31%)
CMYKcmyk(0%, 10%, 65%, 68.6%)
CIE-LABlab(30.46, -3.00, 27.06)
CIE-LCHlch(30.46, 27.23, 96.33°)
OKLaboklab(39.95% -0.01 0.0625)
OKLCHoklch(39.95% 0.063 99.1)
XYZxyz(5.8355, 6.4243, 2.0310)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50481C #1C2450
analogous
#502E1C #50481C #3E501C
triadic
#50481C #1C5048 #481C50
tetradic
#50481C #1C502E #1C2450 #501C3E
square
#50481C #1C502E #1C2450 #501C3E
split-complementary
#50481C #1C3E50 #2E1C50
monochromatic
#171408 #231F0C #50481C #7D712C #AB9A3C

Accessibility & contrast

On white

9.19
#50481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#50481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50481C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50481C#FFFFFF#000000##FFFFFF
##50481C1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#56433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #50481c;
/* rgb */ color: rgb(80, 72, 28);
/* oklch */ color: oklch(39.9% 0.063 99.1);
Tailwind
colors: {
  custom: {
    50: '#837a5a',
    500: '#50481c',
    950: '#000000',
  },
}
SCSS
$custom: #50481c;
$custom-light: #837a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#50481c",
  "rgb": {
    "r": 80,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 50.769,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39948,
    "c": 0.06332,
    "h": 99.1
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#50481C
secondary
#424D86
accent
#65D850
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #50481C

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

Preview Lab → · Contrast checker → · Palette generator →

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