#4D4018#4D4018

#4D4018 is a dark, muted yellow. Relative luminance 0.053; OKLCH L 37.6% C 0.060 H 91.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4D4018
RGBrgb(77, 64, 24)
HSLhsl(45, 52%, 20%)
HSVhsv(45, 69%, 30%)
CMYKcmyk(0%, 16.9%, 68.8%, 69.8%)
CIE-LABlab(27.60, 0.14, 25.96)
CIE-LCHlch(27.60, 25.96, 89.69°)
OKLaboklab(37.6% -0.0013 0.0596)
OKLCHoklch(37.6% 0.06 91.2)
XYZxyz(5.0591, 5.3108, 1.6226)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4018 #18254D
analogous
#4D2618 #4D4018 #404D18
triadic
#4D4018 #184D40 #40184D
tetradic
#4D4018 #184D26 #18254D #4D1840
square
#4D4018 #184D26 #18254D #4D1840
split-complementary
#4D4018 #18404D #26184D
monochromatic
#171307 #1E1909 #4D4018 #7C6727 #AA8E35

Accessibility & contrast

On white

10.18
#4D4018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D4018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4018
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4018#FFFFFF#000000##FFFFFF
##4D40181.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#543B37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d4018;
/* rgb */ color: rgb(77, 64, 24);
/* oklch */ color: oklch(37.6% 0.060 91.2);
Tailwind
colors: {
  custom: {
    50: '#817457',
    500: '#4d4018',
    950: '#000000',
  },
}
SCSS
$custom: #4d4018;
$custom-light: #817457;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4018",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 45.283,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37598,
    "c": 0.05965,
    "h": 91.2
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#4D4018
secondary
#3D4E84
accent
#6FDC4C
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4D4018

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

Preview Lab → · Contrast checker → · Palette generator →

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