#4D4312#4D4312

#4D4312 is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.3% C 0.068 H 97.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4D4312
RGBrgb(77, 67, 18)
HSLhsl(50, 62%, 19%)
HSVhsv(50, 77%, 30%)
CMYKcmyk(0%, 13%, 76.6%, 69.8%)
CIE-LABlab(28.47, -2.17, 29.97)
CIE-LCHlch(28.47, 30.05, 94.14°)
OKLaboklab(38.27% -0.0088 0.067)
OKLCHoklch(38.27% 0.068 97.5)
XYZxyz(5.1772, 5.6360, 1.3873)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4312 #121C4D
analogous
#4D2512 #4D4312 #394D12
triadic
#4D4312 #124D43 #43124D
tetradic
#4D4312 #124D25 #121C4D #4D1239
square
#4D4312 #124D25 #121C4D #4D1239
split-complementary
#4D4312 #12394D #25124D
monochromatic
#191606 #1B1806 #4D4312 #7F6E1E #B09929

Accessibility & contrast

On white

9.87
#4D4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4D4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4312
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4312#FFFFFF#000000##FFFFFF
##4D43121.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#543D39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d4312;
/* rgb */ color: rgb(77, 67, 18);
/* oklch */ color: oklch(38.3% 0.068 97.5);
Tailwind
colors: {
  custom: {
    50: '#817653',
    500: '#4d4312',
    950: '#000000',
  },
}
SCSS
$custom: #4d4312;
$custom-light: #817653;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4312",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 49.831,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.06759,
    "h": 97.5
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#4D4312
secondary
#354386
accent
#5EE543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D4312

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

Preview Lab → · Contrast checker → · Palette generator →

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