#4D5316#4D5316

#4D5316 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.082 H 114.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4D5316
RGBrgb(77, 83, 22)
HSLhsl(66, 58%, 21%)
HSVhsv(66, 73%, 33%)
CMYKcmyk(7.2%, 0%, 73.5%, 67.5%)
CIE-LABlab(33.61, -11.50, 33.33)
CIE-LCHlch(33.61, 35.25, 109.04°)
OKLaboklab(42.37% -0.0346 0.0749)
OKLCHoklch(42.37% 0.082 114.8)
XYZxyz(6.2988, 7.8223, 1.9369)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5316 #1C1653
analogous
#533A16 #4D5316 #2E5316
triadic
#4D5316 #164D53 #53164D
tetradic
#4D5316 #16533A #1C1653 #53162E
square
#4D5316 #16533A #1C1653 #53162E
split-complementary
#4D5316 #162E53 #3A1653
monochromatic
#161806 #202309 #4D5316 #7A8323 #A7B430

Accessibility & contrast

On white

8.19
#4D5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D5316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5316
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5316#FFFFFF#000000##FFFFFF
##4D53161.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0D
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#524E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d5316;
/* rgb */ color: rgb(77, 83, 22);
/* oklch */ color: oklch(42.4% 0.082 114.8);
Tailwind
colors: {
  custom: {
    50: '#818357',
    500: '#4d5316',
    950: '#000000',
  },
}
SCSS
$custom: #4d5316;
$custom-light: #818357;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5316",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 65.902,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.08248,
    "h": 114.8
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#4D5316
secondary
#423A8A
accent
#46E156
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5316

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

Preview Lab → · Contrast checker → · Palette generator →

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