#4D4015#4D4015

#4D4015 is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.6% C 0.062 H 92.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4D4015
RGBrgb(77, 64, 21)
HSLhsl(46, 57%, 19%)
HSVhsv(46, 73%, 30%)
CMYKcmyk(0%, 16.9%, 72.7%, 69.8%)
CIE-LABlab(27.57, -0.09, 27.53)
CIE-LCHlch(27.57, 27.53, 90.18°)
OKLaboklab(37.56% -0.0024 0.0624)
OKLCHoklch(37.56% 0.062 92.2)
XYZxyz(5.0296, 5.2990, 1.4672)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4015 #15224D
analogous
#4D2415 #4D4015 #3E4D15
triadic
#4D4015 #154D40 #40154D
tetradic
#4D4015 #154D24 #15224D #4D153E
square
#4D4015 #154D24 #15224D #4D153E
split-complementary
#4D4015 #153E4D #24154D
monochromatic
#181407 #1D1808 #4D4015 #7D6822 #AD902F

Accessibility & contrast

On white

10.20
#4D4015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4015
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4015#FFFFFF#000000##FFFFFF
##4D40151.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F10
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#543A37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d4015;
/* rgb */ color: rgb(77, 64, 21);
/* oklch */ color: oklch(37.6% 0.062 92.2);
Tailwind
colors: {
  custom: {
    50: '#817455',
    500: '#4d4015',
    950: '#000000',
  },
}
SCSS
$custom: #4d4015;
$custom-light: #817455;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4015",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 46.071,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37562,
    "c": 0.06249,
    "h": 92.2
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#4D4015
secondary
#394B85
accent
#6BE047
background
#F8F7F5
surface
#EFEDE8
border
#CAC8C4
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4D4015

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

Preview Lab → · Contrast checker → · Palette generator →

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