#4C451B#4C451B

#4C451B is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.8% C 0.061 H 99.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4C451B
RGBrgb(76, 69, 27)
HSLhsl(51, 48%, 20%)
HSVhsv(51, 64%, 30%)
CMYKcmyk(0%, 9.2%, 64.5%, 70.2%)
CIE-LABlab(29.09, -3.24, 25.95)
CIE-LCHlch(29.09, 26.15, 97.12°)
OKLaboklab(38.76% -0.0105 0.0601)
OKLCHoklch(38.76% 0.061 99.9)
XYZxyz(5.3066, 5.8721, 1.8906)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C451B #1B224C
analogous
#4C2D1B #4C451B #3A4C1B
triadic
#4C451B #1B4C45 #451B4C
tetradic
#4C451B #1B4C2D #1B224C #4C1B3A
square
#4C451B #1B4C2D #1B224C #4C1B3A
split-complementary
#4C451B #1B3A4C #2D1B4C
monochromatic
#171408 #1F1C0B #4C451B #796E2B #A6973B

Accessibility & contrast

On white

9.66
#4C451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4C451B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C451B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C451B#FFFFFF#000000##FFFFFF
##4C451B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c451b;
/* rgb */ color: rgb(76, 69, 27);
/* oklch */ color: oklch(38.8% 0.061 99.9);
Tailwind
colors: {
  custom: {
    50: '#807859',
    500: '#4c451b',
    950: '#000000',
  },
}
SCSS
$custom: #4c451b;
$custom-light: #807859;
$custom-dark: #000000;
JSON
{
  "hex": "#4c451b",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 51.429,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38758,
    "c": 0.06102,
    "h": 99.9
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#4C451B
secondary
#414A82
accent
#64D751
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4C451B

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

Preview Lab → · Contrast checker → · Palette generator →

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