#4D4317#4D4317

#4D4317 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.3% C 0.063 H 96.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4D4317
RGBrgb(77, 67, 23)
HSLhsl(49, 54%, 20%)
HSVhsv(49, 70%, 30%)
CMYKcmyk(0%, 13%, 70.1%, 69.8%)
CIE-LABlab(28.52, -1.82, 27.50)
CIE-LCHlch(28.52, 27.57, 93.79°)
OKLaboklab(38.32% -0.0071 0.0628)
OKLCHoklch(38.32% 0.063 96.5)
XYZxyz(5.2226, 5.6542, 1.6267)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4317 #17214D
analogous
#4D2817 #4D4317 #3C4D17
triadic
#4D4317 #174D43 #43174D
tetradic
#4D4317 #174D28 #17214D #4D173C
square
#4D4317 #174D28 #17214D #4D173C
split-complementary
#4D4317 #173C4D #28174D
monochromatic
#181507 #1E1A09 #4D4317 #7C6C25 #AB9533

Accessibility & contrast

On white

9.86
#4D4317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4D4317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4317
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4317#FFFFFF#000000##FFFFFF
##4D43171.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4112
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#533E3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d4317;
/* rgb */ color: rgb(77, 67, 23);
/* oklch */ color: oklch(38.3% 0.063 96.5);
Tailwind
colors: {
  custom: {
    50: '#817656',
    500: '#4d4317',
    950: '#000000',
  },
}
SCSS
$custom: #4d4317;
$custom-light: #817656;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4317",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 23
  },
  "hsl": {
    "h": 48.889,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.06316,
    "h": 96.5
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#4D4317
secondary
#3C4984
accent
#66DD4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4D4317

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

Preview Lab → · Contrast checker → · Palette generator →

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