#4D420D#4D420D

#4D420D is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 38.0% C 0.070 H 96.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4D420D
RGBrgb(77, 66, 13)
HSLhsl(50, 71%, 18%)
HSVhsv(50, 83%, 30%)
CMYKcmyk(0%, 14.3%, 83.1%, 69.8%)
CIE-LABlab(28.12, -1.83, 31.87)
CIE-LCHlch(28.12, 31.93, 93.28°)
OKLaboklab(37.98% -0.0084 0.07)
OKLCHoklch(37.98% 0.07 96.9)
XYZxyz(5.0817, 5.5035, 1.1753)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D420D #0D184D
analogous
#4D220D #4D420D #384D0D
triadic
#4D420D #0D4D42 #420D4D
tetradic
#4D420D #0D4D22 #0D184D #4D0D38
square
#4D420D #0D4D22 #0D184D #4D0D38
split-complementary
#4D420D #0D384D #220D4D
monochromatic
#1A1604 #1A1604 #4D420D #816F16 #B69C1F

Accessibility & contrast

On white

10.00
#4D420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D420D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D420D#FFFFFF#000000##FFFFFF
##4D420D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4004
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#543C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d420d;
/* rgb */ color: rgb(77, 66, 13);
/* oklch */ color: oklch(38.0% 0.070 96.9);
Tailwind
colors: {
  custom: {
    50: '#827650',
    500: '#4d420d',
    950: '#000000',
  },
}
SCSS
$custom: #4d420d;
$custom-light: #827650;
$custom-dark: #000000;
JSON
{
  "hex": "#4d420d",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 49.688,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37978,
    "c": 0.07046,
    "h": 96.9
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#4D420D
secondary
#2E3D88
accent
#59EE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D420D

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

Preview Lab → · Contrast checker → · Palette generator →

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