#4D4515#4D4515

#4D4515 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.8% C 0.067 H 99.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4D4515
RGBrgb(77, 69, 21)
HSLhsl(51, 57%, 19%)
HSVhsv(51, 73%, 30%)
CMYKcmyk(0%, 10.4%, 72.7%, 69.8%)
CIE-LABlab(29.13, -3.21, 29.18)
CIE-LCHlch(29.13, 29.35, 96.28°)
OKLaboklab(38.8% -0.0114 0.0659)
OKLCHoklch(38.8% 0.067 99.8)
XYZxyz(5.3243, 5.8884, 1.5654)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4515 #151D4D
analogous
#4D2915 #4D4515 #394D15
triadic
#4D4515 #154D45 #45154D
tetradic
#4D4515 #154D29 #151D4D #4D1539
square
#4D4515 #154D29 #151D4D #4D1539
split-complementary
#4D4515 #15394D #29154D
monochromatic
#181607 #1D1A08 #4D4515 #7D7022 #AD9B2F

Accessibility & contrast

On white

9.64
#4D4515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D4515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4515
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4515#FFFFFF#000000##FFFFFF
##4D45151.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430F
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#53403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d4515;
/* rgb */ color: rgb(77, 69, 21);
/* oklch */ color: oklch(38.8% 0.067 99.8);
Tailwind
colors: {
  custom: {
    50: '#817855',
    500: '#4d4515',
    950: '#000000',
  },
}
SCSS
$custom: #4d4515;
$custom-light: #817855;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4515",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 51.429,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.06691,
    "h": 99.8
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#4D4515
secondary
#394485
accent
#5DE047
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4D4515

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

Preview Lab → · Contrast checker → · Palette generator →

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