#4D561B#4D561B

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

Color values

HEX#4D561B
RGBrgb(77, 86, 27)
HSLhsl(69, 52%, 22%)
HSVhsv(69, 69%, 34%)
CMYKcmyk(10.5%, 0%, 68.6%, 66.3%)
CIE-LABlab(34.63, -12.84, 32.05)
CIE-LCHlch(34.63, 34.52, 111.84°)
OKLaboklab(43.2% -0.0378 0.073)
OKLCHoklch(43.2% 0.082 117.4)
XYZxyz(6.5863, 8.3126, 2.2942)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D561B #241B56
analogous
#56421B #4D561B #2F561B
triadic
#4D561B #1B4D56 #561B4D
tetradic
#4D561B #1B5642 #241B56 #561B2F
square
#4D561B #1B5642 #241B56 #561B2F
split-complementary
#4D561B #1B2F56 #421B56
monochromatic
#151707 #23270C #4D561B #77852A #A0B338

Accessibility & contrast

On white

7.89
#4D561B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4D561B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D561B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D561B#FFFFFF#000000##FFFFFF
##4D561B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d561b;
/* rgb */ color: rgb(77, 86, 27);
/* oklch */ color: oklch(43.2% 0.082 117.4);
Tailwind
colors: {
  custom: {
    50: '#81855b',
    500: '#4d561b',
    950: '#000000',
  },
}
SCSS
$custom: #4d561b;
$custom-light: #81855b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d561b",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 69.153,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.08223,
    "h": 117.4
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#4D561B
secondary
#4C418C
accent
#4CDC62
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D561B

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

Preview Lab → · Contrast checker → · Palette generator →

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