#4C2812#4C2812

#4C2812 is a dark, moderate orange. Relative luminance 0.031; OKLCH L 32.0% C 0.064 H 50.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#4C2812
RGBrgb(76, 40, 18)
HSLhsl(23, 62%, 18%)
HSVhsv(23, 76%, 30%)
CMYKcmyk(0%, 47.4%, 76.3%, 70.2%)
CIE-LABlab(20.43, 14.66, 21.39)
CIE-LCHlch(20.43, 25.93, 55.58°)
OKLaboklab(31.95% 0.0407 0.0488)
OKLCHoklch(31.95% 0.064 50.2)
XYZxyz(3.8488, 3.0982, 0.9675)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2812 #12364C
analogous
#4C1219 #4C2812 #4C4512
triadic
#4C2812 #124C28 #28124C
tetradic
#4C2812 #194C12 #12364C #45124C
square
#4C2812 #194C12 #12364C #45124C
split-complementary
#4C2812 #124C45 #12194C
monochromatic
#190D06 #1B0E06 #4C2812 #7D421E #AF5C29

Accessibility & contrast

On white

12.97
#4C2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2812
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2812#FFFFFF#000000##FFFFFF
##4C28121.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C10
Deuteranopia (green-blind)
#3B3412
Tritanopia (blue-blind)
#542123
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c2812;
/* rgb */ color: rgb(76, 40, 18);
/* oklch */ color: oklch(32.0% 0.064 50.2);
Tailwind
colors: {
  custom: {
    50: '#826250',
    500: '#4c2812',
    950: '#000000',
  },
}
SCSS
$custom: #4c2812;
$custom-light: #826250;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2812",
  "rgb": {
    "r": 76,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 22.759,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31953,
    "c": 0.06351,
    "h": 50.2
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#4C2812
secondary
#356785
accent
#A7E543
background
#F8F5F4
surface
#EFEAE7
border
#CAC6C3
text
#0B0502
muted
#7C7978

Preview Lab

Preview with #4C2812

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

Preview Lab → · Contrast checker → · Palette generator →

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