#4D561F#4D561F

#4D561F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.078 H 117.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4D561F
RGBrgb(77, 86, 31)
HSLhsl(70, 47%, 23%)
HSVhsv(70, 64%, 34%)
CMYKcmyk(10.5%, 0%, 64%, 66.3%)
CIE-LABlab(34.67, -12.50, 30.10)
CIE-LCHlch(34.67, 32.59, 112.56°)
OKLaboklab(43.25% -0.0364 0.0695)
OKLCHoklch(43.25% 0.078 117.6)
XYZxyz(6.6358, 8.3323, 2.5548)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D561F #281F56
analogous
#56431F #4D561F #31561F
triadic
#4D561F #1F4D56 #561F4D
tetradic
#4D561F #1F5643 #281F56 #561F31
square
#4D561F #1F5643 #281F56 #561F31
split-complementary
#4D561F #1F3156 #431F56
monochromatic
#141608 #25290F #4D561F #75832F #9EB03F

Accessibility & contrast

On white

7.88
#4D561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D561F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D561F#FFFFFF#000000##FFFFFF
##4D561F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#52514A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d561f;
/* rgb */ color: rgb(77, 86, 31);
/* oklch */ color: oklch(43.2% 0.078 117.6);
Tailwind
colors: {
  custom: {
    50: '#80855d',
    500: '#4d561f',
    950: '#000000',
  },
}
SCSS
$custom: #4d561f;
$custom-light: #80855d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d561f",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 69.818,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.07845,
    "h": 117.6
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#4D561F
secondary
#51468B
accent
#51D767
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D561F

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

Preview Lab → · Contrast checker → · Palette generator →

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