#4D541A#4D541A

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

Color values

HEX#4D541A
RGBrgb(77, 84, 26)
HSLhsl(67, 53%, 22%)
HSVhsv(67, 69%, 33%)
CMYKcmyk(8.3%, 0%, 69%, 67.1%)
CIE-LABlab(33.97, -11.78, 31.83)
CIE-LCHlch(33.97, 33.94, 110.31°)
OKLaboklab(42.67% -0.0349 0.0724)
OKLCHoklch(42.67% 0.08 115.7)
XYZxyz(6.4175, 7.9931, 2.1818)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D541A #211A54
analogous
#543E1A #4D541A #30541A
triadic
#4D541A #1A4D54 #541A4D
tetradic
#4D541A #1A543E #211A54 #541A30
square
#4D541A #1A543E #211A54 #541A30
split-complementary
#4D541A #1A3054 #3E1A54
monochromatic
#151707 #22250C #4D541A #788328 #A3B137

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D541A#FFFFFF#000000##FFFFFF
##4D541A1.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)
#5A5013
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#524F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d541a;
/* rgb */ color: rgb(77, 84, 26);
/* oklch */ color: oklch(42.7% 0.080 115.7);
Tailwind
colors: {
  custom: {
    50: '#81845a',
    500: '#4d541a',
    950: '#000000',
  },
}
SCSS
$custom: #4d541a;
$custom-light: #81845a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d541a",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 67.241,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42671,
    "c": 0.0804,
    "h": 115.7
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#4D541A
secondary
#49408A
accent
#4CDC5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D541A

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

Preview Lab → · Contrast checker → · Palette generator →

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