#4D4918#4D4918

#4D4918 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.068 H 104.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4D4918
RGBrgb(77, 73, 24)
HSLhsl(55, 52%, 20%)
HSVhsv(55, 69%, 30%)
CMYKcmyk(0%, 5.2%, 68.8%, 69.8%)
CIE-LABlab(30.42, -5.44, 29.04)
CIE-LCHlch(30.42, 29.54, 100.61°)
OKLaboklab(39.83% -0.0173 0.0662)
OKLCHoklch(39.83% 0.068 104.6)
XYZxyz(5.6082, 6.4090, 1.8056)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4918 #181C4D
analogous
#4D2F18 #4D4918 #364D18
triadic
#4D4918 #184D49 #49184D
tetradic
#4D4918 #184D2F #181C4D #4D1836
square
#4D4918 #184D2F #181C4D #4D1836
split-complementary
#4D4918 #18364D #2F184D
monochromatic
#171607 #1E1D09 #4D4918 #7C7527 #AAA135

Accessibility & contrast

On white

9.20
#4D4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4D4918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4918
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4918#FFFFFF#000000##FFFFFF
##4D49181.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#53443F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d4918;
/* rgb */ color: rgb(77, 73, 24);
/* oklch */ color: oklch(39.8% 0.068 104.6);
Tailwind
colors: {
  custom: {
    50: '#817b57',
    500: '#4d4918',
    950: '#000000',
  },
}
SCSS
$custom: #4d4918;
$custom-light: #817b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4918",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 55.472,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39832,
    "c": 0.06839,
    "h": 104.6
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#4D4918
secondary
#3D4284
accent
#57DC4C
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4D4918

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

Preview Lab → · Contrast checker → · Palette generator →

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