#4D541C#4D541C

#4D541C 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#4D541C
RGBrgb(77, 84, 28)
HSLhsl(68, 50%, 22%)
HSVhsv(68, 67%, 33%)
CMYKcmyk(8.3%, 0%, 66.7%, 67.1%)
CIE-LABlab(33.99, -11.62, 30.87)
CIE-LCHlch(33.99, 32.98, 110.63°)
OKLaboklab(42.69% -0.0342 0.0707)
OKLCHoklch(42.69% 0.079 115.8)
XYZxyz(6.4406, 8.0024, 2.3037)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D541C #231C54
analogous
#543F1C #4D541C #31541C
triadic
#4D541C #1C4D54 #541C4D
tetradic
#4D541C #1C543F #231C54 #541C31
square
#4D541C #1C543F #231C54 #541C31
split-complementary
#4D541C #1C3154 #3F1C54
monochromatic
#151708 #23260D #4D541C #77822B #A1B03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D541C#FFFFFF#000000##FFFFFF
##4D541C1.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)
#5A5015
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#524F48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d541c;
/* rgb */ color: rgb(77, 84, 28);
/* oklch */ color: oklch(42.7% 0.079 115.8);
Tailwind
colors: {
  custom: {
    50: '#81845b',
    500: '#4d541c',
    950: '#000000',
  },
}
SCSS
$custom: #4d541c;
$custom-light: #81845b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d541c",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 67.5,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.07856,
    "h": 115.8
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#4D541C
secondary
#4B428A
accent
#4EDA60
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D541C

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

Preview Lab → · Contrast checker → · Palette generator →

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