#4D4012#4D4012

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

Color values

HEX#4D4012
RGBrgb(77, 64, 18)
HSLhsl(47, 62%, 19%)
HSVhsv(47, 77%, 30%)
CMYKcmyk(0%, 16.9%, 76.6%, 69.8%)
CIE-LABlab(27.54, -0.29, 29.02)
CIE-LCHlch(27.54, 29.02, 90.57°)
OKLaboklab(37.53% -0.0034 0.065)
OKLCHoklch(37.53% 0.065 93)
XYZxyz(5.0034, 5.2885, 1.3294)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4012 #121F4D
analogous
#4D2212 #4D4012 #3C4D12
triadic
#4D4012 #124D40 #40124D
tetradic
#4D4012 #124D22 #121F4D #4D123C
square
#4D4012 #124D22 #121F4D #4D123C
split-complementary
#4D4012 #123C4D #22124D
monochromatic
#191506 #1B1706 #4D4012 #7F691E #B09229

Accessibility & contrast

On white

10.21
#4D4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4012
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4012#FFFFFF#000000##FFFFFF
##4D40121.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0C
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#543A37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d4012;
/* rgb */ color: rgb(77, 64, 18);
/* oklch */ color: oklch(37.5% 0.065 93.0);
Tailwind
colors: {
  custom: {
    50: '#817453',
    500: '#4d4012',
    950: '#000000',
  },
}
SCSS
$custom: #4d4012;
$custom-light: #817453;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4012",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 46.78,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3753,
    "c": 0.0651,
    "h": 93
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#4D4012
secondary
#354786
accent
#66E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D4012

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

Preview Lab → · Contrast checker → · Palette generator →

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