#642C17#642C17

#642C17 is a dark, moderate orange. Relative luminance 0.046; OKLCH L 36.7% C 0.087 H 40.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#642C17
RGBrgb(100, 44, 23)
HSLhsl(16, 63%, 24%)
HSVhsv(16, 77%, 39%)
CMYKcmyk(0%, 56%, 77%, 60.8%)
CIE-LABlab(25.48, 23.67, 25.11)
CIE-LCHlch(25.48, 34.51, 46.69°)
OKLaboklab(36.65% 0.0665 0.0566)
OKLCHoklch(36.65% 0.087 40.4)
XYZxyz(6.3115, 4.5733, 1.3608)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642C17 #174F64
analogous
#641729 #642C17 #645317
triadic
#642C17 #17642C #2C1764
tetradic
#642C17 #296417 #174F64 #531764
square
#642C17 #296417 #174F64 #531764
split-complementary
#642C17 #176453 #172964
monochromatic
#190B06 #32160C #642C17 #964222 #C8582E

Accessibility & contrast

On white

10.97
#642C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#642C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642C17
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642C17#FFFFFF#000000##FFFFFF
##642C171.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#6E2027
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642c17;
/* rgb */ color: rgb(100, 44, 23);
/* oklch */ color: oklch(36.7% 0.087 40.4);
Tailwind
colors: {
  custom: {
    50: '#956655',
    500: '#642c17',
    950: '#000000',
  },
}
SCSS
$custom: #642c17;
$custom-light: #956655;
$custom-dark: #000000;
JSON
{
  "hex": "#642c17",
  "rgb": {
    "r": 100,
    "g": 44,
    "b": 23
  },
  "hsl": {
    "h": 16.364,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36651,
    "c": 0.08737,
    "h": 40.4
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#642C17
secondary
#3C819A
accent
#B9E642
background
#F9F6F4
surface
#F2EBE8
border
#CCC6C4
text
#0E0603
muted
#7E7A78

Preview Lab

Preview with #642C17

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

Preview Lab → · Contrast checker → · Palette generator →

#642C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva