#4C451F#4C451F

#4C451F is a dark, muted yellow. Relative luminance 0.059; OKLCH L 38.8% C 0.057 H 99.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4C451F
RGBrgb(76, 69, 31)
HSLhsl(51, 42%, 21%)
HSVhsv(51, 59%, 30%)
CMYKcmyk(0%, 9.2%, 59.2%, 70.2%)
CIE-LABlab(29.14, -2.87, 23.76)
CIE-LCHlch(29.14, 23.93, 96.88°)
OKLaboklab(38.81% -0.0089 0.0559)
OKLCHoklch(38.81% 0.057 99.1)
XYZxyz(5.3561, 5.8919, 2.1512)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C451F #1F264C
analogous
#4C2E1F #4C451F #3C4C1F
triadic
#4C451F #1F4C45 #451F4C
tetradic
#4C451F #1F4C2E #1F264C #4C1F3C
square
#4C451F #1F4C2E #1F264C #4C1F3C
split-complementary
#4C451F #1F3C4C #2E1F4C
monochromatic
#161409 #211E0D #4C451F #776C31 #A39442

Accessibility & contrast

On white

9.64
#4C451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4C451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C451F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C451F#FFFFFF#000000##FFFFFF
##4C451F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#52403C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c451f;
/* rgb */ color: rgb(76, 69, 31);
/* oklch */ color: oklch(38.8% 0.057 99.1);
Tailwind
colors: {
  custom: {
    50: '#7f785c',
    500: '#4c451f',
    950: '#000000',
  },
}
SCSS
$custom: #4c451f;
$custom-light: #7f785c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c451f",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 50.667,
    "s": 42.056,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.05661,
    "h": 99.1
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#4C451F
secondary
#464F81
accent
#69D256
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4C451F

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

Preview Lab → · Contrast checker → · Palette generator →

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