#4D4712#4D4712

#4D4712 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.071 H 102.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4D4712
RGBrgb(77, 71, 18)
HSLhsl(54, 62%, 19%)
HSVhsv(54, 77%, 30%)
CMYKcmyk(0%, 7.8%, 76.6%, 69.8%)
CIE-LABlab(29.73, -4.64, 31.24)
CIE-LCHlch(29.73, 31.58, 98.44°)
OKLaboklab(39.27% -0.0158 0.0697)
OKLCHoklch(39.27% 0.071 102.8)
XYZxyz(5.4232, 6.1282, 1.4693)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4712 #12184D
analogous
#4D2912 #4D4712 #354D12
triadic
#4D4712 #124D47 #47124D
tetradic
#4D4712 #124D29 #12184D #4D1235
square
#4D4712 #124D29 #12184D #4D1235
split-complementary
#4D4712 #12354D #29124D
monochromatic
#191706 #1B1906 #4D4712 #7F751E #B0A229

Accessibility & contrast

On white

9.44
#4D4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4D4712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4712
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4712#FFFFFF#000000##FFFFFF
##4D47121.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#53423C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d4712;
/* rgb */ color: rgb(77, 71, 18);
/* oklch */ color: oklch(39.3% 0.071 102.8);
Tailwind
colors: {
  custom: {
    50: '#817a54',
    500: '#4d4712',
    950: '#000000',
  },
}
SCSS
$custom: #4d4712;
$custom-light: #817a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4712",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 53.898,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.07146,
    "h": 102.8
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#4D4712
secondary
#353D86
accent
#53E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4712

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

Preview Lab → · Contrast checker → · Palette generator →

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