#4D551B#4D551B

#4D551B is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 42.9% C 0.081 H 116.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4D551B
RGBrgb(77, 85, 27)
HSLhsl(68, 52%, 22%)
HSVhsv(68, 68%, 33%)
CMYKcmyk(9.4%, 0%, 68.2%, 66.7%)
CIE-LABlab(34.30, -12.27, 31.70)
CIE-LCHlch(34.30, 33.99, 111.17°)
OKLaboklab(42.94% -0.0362 0.0723)
OKLCHoklch(42.94% 0.081 116.6)
XYZxyz(6.5070, 8.1540, 2.2678)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D551B #231B55
analogous
#55401B #4D551B #30551B
triadic
#4D551B #1B4D55 #551B4D
tetradic
#4D551B #1B5540 #231B55 #551B30
square
#4D551B #1B5540 #231B55 #551B30
split-complementary
#4D551B #1B3055 #401B55
monochromatic
#151707 #23270C #4D551B #77832A #A1B239

Accessibility & contrast

On white

7.98
#4D551B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D551B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D551B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D551B#FFFFFF#000000##FFFFFF
##4D551B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5014
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#525049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d551b;
/* rgb */ color: rgb(77, 85, 27);
/* oklch */ color: oklch(42.9% 0.081 116.6);
Tailwind
colors: {
  custom: {
    50: '#81845a',
    500: '#4d551b',
    950: '#000000',
  },
}
SCSS
$custom: #4d551b;
$custom-light: #81845a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d551b",
  "rgb": {
    "r": 77,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 68.276,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.08086,
    "h": 116.6
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#4D551B
secondary
#4B418B
accent
#4DDB60
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D551B

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

Preview Lab → · Contrast checker → · Palette generator →

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