#4D400D#4D400D

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

Color values

HEX#4D400D
RGBrgb(77, 64, 13)
HSLhsl(48, 71%, 18%)
HSVhsv(48, 83%, 30%)
CMYKcmyk(0%, 16.9%, 83.1%, 69.8%)
CIE-LABlab(27.50, -0.57, 31.29)
CIE-LCHlch(27.50, 31.29, 91.05°)
OKLaboklab(37.49% -0.0049 0.0687)
OKLCHoklch(37.49% 0.069 94.1)
XYZxyz(4.9669, 5.2739, 1.1370)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D400D #0D1A4D
analogous
#4D200D #4D400D #3A4D0D
triadic
#4D400D #0D4D40 #400D4D
tetradic
#4D400D #0D4D20 #0D1A4D #4D0D3A
square
#4D400D #0D4D20 #0D1A4D #4D0D3A
split-complementary
#4D400D #0D3A4D #200D4D
monochromatic
#1A1604 #1A1604 #4D400D #816C16 #B6971F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D400D#FFFFFF#000000##FFFFFF
##4D400D1.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)
#483F05
Deuteranopia (green-blind)
#4B4310
Tritanopia (blue-blind)
#543A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d400d;
/* rgb */ color: rgb(77, 64, 13);
/* oklch */ color: oklch(37.5% 0.069 94.1);
Tailwind
colors: {
  custom: {
    50: '#827450',
    500: '#4d400d',
    950: '#000000',
  },
}
SCSS
$custom: #4d400d;
$custom-light: #827450;
$custom-dark: #000000;
JSON
{
  "hex": "#4d400d",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 47.813,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.06887,
    "h": 94.1
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#4D400D
secondary
#2E4088
accent
#5EEE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D400D

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

Preview Lab → · Contrast checker → · Palette generator →

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