#4D4D15#4D4D15

#4D4D15 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.076 H 109.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4D4D15
RGBrgb(77, 77, 21)
HSLhsl(60, 57%, 19%)
HSVhsv(60, 73%, 30%)
CMYKcmyk(0%, 0%, 72.7%, 69.8%)
CIE-LABlab(31.67, -8.06, 31.81)
CIE-LCHlch(31.67, 32.81, 104.22°)
OKLaboklab(40.82% -0.0251 0.0715)
OKLCHoklch(40.82% 0.076 109.3)
XYZxyz(5.8500, 6.9398, 1.7407)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4D15 #15154D
analogous
#4D3115 #4D4D15 #314D15
triadic
#4D4D15 #154D4D #4D154D
tetradic
#4D4D15 #154D31 #15154D #4D1531
square
#4D4D15 #154D31 #15154D #4D1531
split-complementary
#4D4D15 #15314D #31154D
monochromatic
#181807 #1D1D08 #4D4D15 #7D7D22 #ADAD2F

Accessibility & contrast

On white

8.79
#4D4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4D4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4D15
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4D15#FFFFFF#000000##FFFFFF
##4D4D151.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0D
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#534842
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d4d15;
/* rgb */ color: rgb(77, 77, 21);
/* oklch */ color: oklch(40.8% 0.076 109.3);
Tailwind
colors: {
  custom: {
    50: '#817e56',
    500: '#4d4d15',
    950: '#000000',
  },
}
SCSS
$custom: #4d4d15;
$custom-light: #817e56;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4d15",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.07576,
    "h": 109.3
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#4D4D15
secondary
#393985
accent
#47E047
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4D4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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