#4D3F0C#4D3F0C

#4D3F0C is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.2% C 0.069 H 92.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4D3F0C
RGBrgb(77, 63, 12)
HSLhsl(47, 73%, 17%)
HSVhsv(47, 84%, 30%)
CMYKcmyk(0%, 18.2%, 84.4%, 69.8%)
CIE-LABlab(27.18, 0.01, 31.41)
CIE-LCHlch(27.18, 31.41, 89.98°)
OKLaboklab(37.23% -0.0033 0.0687)
OKLCHoklch(37.23% 0.069 92.8)
XYZxyz(4.9047, 5.1596, 1.0853)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3F0C #0C1A4D
analogous
#4D1F0C #4D3F0C #3B4D0C
triadic
#4D3F0C #0C4D3F #3F0C4D
tetradic
#4D3F0C #0C4D1F #0C1A4D #4D0C3B
square
#4D3F0C #0C4D1F #0C1A4D #4D0C3B
split-complementary
#4D3F0C #0C3B4D #1F0C4D
monochromatic
#1A1604 #1A1604 #4D3F0C #826A14 #B7961D

Accessibility & contrast

On white

10.34
#4D3F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4D3F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3F0C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3F0C#FFFFFF#000000##FFFFFF
##4D3F0C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E04
Deuteranopia (green-blind)
#4A420F
Tritanopia (blue-blind)
#543935
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d3f0c;
/* rgb */ color: rgb(77, 63, 12);
/* oklch */ color: oklch(37.2% 0.069 92.8);
Tailwind
colors: {
  custom: {
    50: '#82734f',
    500: '#4d3f0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d3f0c;
$custom-light: #82734f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3f0c",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 47.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37233,
    "c": 0.06881,
    "h": 92.8
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#4D3F0C
secondary
#2C4089
accent
#60F038
background
#F8F6F4
surface
#EFECE7
border
#CAC7C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D3F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#4D3F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva