#4D571A#4D571A

#4D571A is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.5% C 0.084 H 118.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4D571A
RGBrgb(77, 87, 26)
HSLhsl(70, 54%, 22%)
HSVhsv(70, 70%, 34%)
CMYKcmyk(11.5%, 0%, 70.1%, 65.9%)
CIE-LABlab(34.94, -13.49, 32.86)
CIE-LCHlch(34.94, 35.52, 112.32°)
OKLaboklab(43.45% -0.0397 0.0746)
OKLCHoklch(43.45% 0.084 118)
XYZxyz(6.6553, 8.4688, 2.2611)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D571A #241A57
analogous
#57431A #4D571A #2F571A
triadic
#4D571A #1A4D57 #571A4D
tetradic
#4D571A #1A5743 #241A57 #571A2F
square
#4D571A #1A5743 #241A57 #571A2F
split-complementary
#4D571A #1A2F57 #431A57
monochromatic
#151807 #23280C #4D571A #778628 #A0B536

Accessibility & contrast

On white

7.80
#4D571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D571A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D571A#FFFFFF#000000##FFFFFF
##4D571A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5212
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#52524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d571a;
/* rgb */ color: rgb(77, 87, 26);
/* oklch */ color: oklch(43.5% 0.084 118.0);
Tailwind
colors: {
  custom: {
    50: '#81865a',
    500: '#4d571a',
    950: '#000000',
  },
}
SCSS
$custom: #4d571a;
$custom-light: #81865a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d571a",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 69.836,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.08448,
    "h": 118
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#4D571A
secondary
#4C408D
accent
#4ADD63
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D571A

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

Preview Lab → · Contrast checker → · Palette generator →

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