#4D400C#4D400C

#4D400C is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.5% C 0.070 H 94.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4D400C
RGBrgb(77, 64, 12)
HSLhsl(48, 73%, 17%)
HSVhsv(48, 84%, 30%)
CMYKcmyk(0%, 16.9%, 84.4%, 69.8%)
CIE-LABlab(27.49, -0.62, 31.70)
CIE-LCHlch(27.49, 31.71, 91.12°)
OKLaboklab(37.48% -0.0051 0.0694)
OKLCHoklch(37.48% 0.07 94.2)
XYZxyz(4.9606, 5.2714, 1.1040)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D400C #0C194D
analogous
#4D1F0C #4D400C #3A4D0C
triadic
#4D400C #0C4D40 #400C4D
tetradic
#4D400C #0C4D1F #0C194D #4D0C3A
square
#4D400C #0C4D1F #0C194D #4D0C3A
split-complementary
#4D400C #0C3A4D #1F0C4D
monochromatic
#1A1604 #1A1604 #4D400C #826C14 #B7981D

Accessibility & contrast

On white

10.22
#4D400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D400C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D400C#FFFFFF#000000##FFFFFF
##4D400C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F04
Deuteranopia (green-blind)
#4B430F
Tritanopia (blue-blind)
#543A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d400c;
/* rgb */ color: rgb(77, 64, 12);
/* oklch */ color: oklch(37.5% 0.070 94.2);
Tailwind
colors: {
  custom: {
    50: '#82744f',
    500: '#4d400c',
    950: '#000000',
  },
}
SCSS
$custom: #4d400c;
$custom-light: #82744f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d400c",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 48,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.06954,
    "h": 94.2
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#4D400C
secondary
#2C3F89
accent
#5DF038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D400C

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

Preview Lab → · Contrast checker → · Palette generator →

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