#642F17#642F17

#642F17 is a dark, moderate orange. Relative luminance 0.048; OKLCH L 37.2% C 0.085 H 43.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#642F17
RGBrgb(100, 47, 23)
HSLhsl(19, 63%, 24%)
HSVhsv(19, 77%, 39%)
CMYKcmyk(0%, 53%, 77%, 60.8%)
CIE-LABlab(26.17, 21.93, 25.86)
CIE-LCHlch(26.17, 33.91, 49.70°)
OKLaboklab(37.18% 0.0612 0.0582)
OKLCHoklch(37.18% 0.085 43.6)
XYZxyz(6.4273, 4.8050, 1.3994)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F17 #174C64
analogous
#641726 #642F17 #645617
triadic
#642F17 #17642F #2F1764
tetradic
#642F17 #266417 #174C64 #561764
square
#642F17 #266417 #174C64 #561764
split-complementary
#642F17 #176456 #172664
monochromatic
#190C06 #32180C #642F17 #964622 #C85E2E

Accessibility & contrast

On white

10.71
#642F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#642F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F17
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F17#FFFFFF#000000##FFFFFF
##642F171.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3714
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#6E242A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642f17;
/* rgb */ color: rgb(100, 47, 23);
/* oklch */ color: oklch(37.2% 0.085 43.6);
Tailwind
colors: {
  custom: {
    50: '#956855',
    500: '#642f17',
    950: '#000000',
  },
}
SCSS
$custom: #642f17;
$custom-light: #956855;
$custom-dark: #000000;
JSON
{
  "hex": "#642f17",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 18.701,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.37177,
    "c": 0.0845,
    "h": 43.6
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#642F17
secondary
#3C7D9A
accent
#B3E642
background
#F9F6F5
surface
#F2EBE8
border
#CCC6C4
text
#0E0603
muted
#7E7A78

Preview Lab

Preview with #642F17

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

Preview Lab → · Contrast checker → · Palette generator →

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