#4D4813#4D4813

#4D4813 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.5% C 0.072 H 103.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4D4813
RGBrgb(77, 72, 19)
HSLhsl(55, 60%, 19%)
HSVhsv(55, 75%, 30%)
CMYKcmyk(0%, 6.5%, 75.3%, 69.8%)
CIE-LABlab(30.06, -5.18, 31.10)
CIE-LCHlch(30.06, 31.53, 99.46°)
OKLaboklab(39.53% -0.0172 0.0696)
OKLCHoklch(39.53% 0.072 103.9)
XYZxyz(5.4957, 6.2597, 1.5347)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4813 #13184D
analogous
#4D2B13 #4D4813 #354D13
triadic
#4D4813 #134D48 #48134D
tetradic
#4D4813 #134D2B #13184D #4D1335
square
#4D4813 #134D2B #13184D #4D1335
split-complementary
#4D4813 #13354D #2B134D
monochromatic
#191706 #1C1A07 #4D4813 #7E761F #AFA42B

Accessibility & contrast

On white

9.33
#4D4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4D4813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4813
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4813#FFFFFF#000000##FFFFFF
##4D48131.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#53433D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d4813;
/* rgb */ color: rgb(77, 72, 19);
/* oklch */ color: oklch(39.5% 0.072 103.9);
Tailwind
colors: {
  custom: {
    50: '#817a54',
    500: '#4d4813',
    950: '#000000',
  },
}
SCSS
$custom: #4d4813;
$custom-light: #817a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4813",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 54.828,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.07171,
    "h": 103.9
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#4D4813
secondary
#363D86
accent
#52E444
background
#F8F7F5
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4813

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

Preview Lab → · Contrast checker → · Palette generator →

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