#642E17#642E17

#642E17 is a dark, moderate orange. Relative luminance 0.047; OKLCH L 37.0% C 0.085 H 42.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#642E17
RGBrgb(100, 46, 23)
HSLhsl(18, 63%, 24%)
HSVhsv(18, 77%, 39%)
CMYKcmyk(0%, 54%, 77%, 60.8%)
CIE-LABlab(25.94, 22.51, 25.61)
CIE-LCHlch(25.94, 34.10, 48.68°)
OKLaboklab(37% 0.063 0.0577)
OKLCHoklch(37% 0.085 42.5)
XYZxyz(6.3878, 4.7260, 1.3863)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642E17 #174D64
analogous
#641727 #642E17 #645517
triadic
#642E17 #17642E #2E1764
tetradic
#642E17 #276417 #174D64 #551764
square
#642E17 #276417 #174D64 #551764
split-complementary
#642E17 #176455 #172764
monochromatic
#190B06 #32170C #642E17 #964522 #C85C2E

Accessibility & contrast

On white

10.80
#642E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#642E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642E17
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642E17#FFFFFF#000000##FFFFFF
##642E171.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3614
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#6E2329
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #642e17;
/* rgb */ color: rgb(100, 46, 23);
/* oklch */ color: oklch(37.0% 0.085 42.5);
Tailwind
colors: {
  custom: {
    50: '#956855',
    500: '#642e17',
    950: '#000000',
  },
}
SCSS
$custom: #642e17;
$custom-light: #956855;
$custom-dark: #000000;
JSON
{
  "hex": "#642e17",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 17.922,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36999,
    "c": 0.08544,
    "h": 42.5
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#642E17
secondary
#3C7E9A
accent
#B5E642
background
#F9F6F5
surface
#F2EBE8
border
#CCC6C4
text
#0E0603
muted
#7E7A78

Preview Lab

Preview with #642E17

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

Preview Lab → · Contrast checker → · Palette generator →

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