#4D541B#4D541B

#4D541B is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.7% C 0.079 H 115.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4D541B
RGBrgb(77, 84, 27)
HSLhsl(67, 51%, 22%)
HSVhsv(67, 68%, 33%)
CMYKcmyk(8.3%, 0%, 67.9%, 67.1%)
CIE-LABlab(33.98, -11.70, 31.35)
CIE-LCHlch(33.98, 33.47, 110.47°)
OKLaboklab(42.68% -0.0346 0.0716)
OKLCHoklch(42.68% 0.079 115.8)
XYZxyz(6.4289, 7.9976, 2.2417)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D541B #221B54
analogous
#543F1B #4D541B #31541B
triadic
#4D541B #1B4D54 #541B4D
tetradic
#4D541B #1B543F #221B54 #541B31
square
#4D541B #1B543F #221B54 #541B31
split-complementary
#4D541B #1B3154 #3F1B54
monochromatic
#151707 #23260C #4D541B #77822A #A2B139

Accessibility & contrast

On white

8.08
#4D541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D541B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D541B#FFFFFF#000000##FFFFFF
##4D541B1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5014
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#524F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d541b;
/* rgb */ color: rgb(77, 84, 27);
/* oklch */ color: oklch(42.7% 0.079 115.8);
Tailwind
colors: {
  custom: {
    50: '#81845a',
    500: '#4d541b',
    950: '#000000',
  },
}
SCSS
$custom: #4d541b;
$custom-light: #81845a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d541b",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 67.368,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42681,
    "c": 0.07949,
    "h": 115.8
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#4D541B
secondary
#4A418A
accent
#4DDB5E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D541B

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

Preview Lab → · Contrast checker → · Palette generator →

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