#642D18#642D18

#642D18 is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.8% C 0.086 H 40.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#642D18
RGBrgb(100, 45, 24)
HSLhsl(17, 61%, 24%)
HSVhsv(17, 76%, 39%)
CMYKcmyk(0%, 55%, 76%, 60.8%)
CIE-LABlab(25.72, 23.15, 24.78)
CIE-LCHlch(25.72, 33.91, 46.95°)
OKLaboklab(36.84% 0.0652 0.0561)
OKLCHoklch(36.84% 0.086 40.7)
XYZxyz(6.3594, 4.6528, 1.4272)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642D18 #184F64
analogous
#641829 #642D18 #645318
triadic
#642D18 #18642D #2D1864
tetradic
#642D18 #296418 #184F64 #531864
square
#642D18 #296418 #184F64 #531864
split-complementary
#642D18 #186453 #182964
monochromatic
#190B06 #33170C #642D18 #954324 #C75930

Accessibility & contrast

On white

10.88
#642D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#642D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642D18
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642D18#FFFFFF#000000##FFFFFF
##642D181.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3516
Deuteranopia (green-blind)
#494217
Tritanopia (blue-blind)
#6E2228
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #642d18;
/* rgb */ color: rgb(100, 45, 24);
/* oklch */ color: oklch(36.8% 0.086 40.7);
Tailwind
colors: {
  custom: {
    50: '#956756',
    500: '#642d18',
    950: '#000000',
  },
}
SCSS
$custom: #642d18;
$custom-light: #956756;
$custom-dark: #000000;
JSON
{
  "hex": "#642d18",
  "rgb": {
    "r": 100,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 16.579,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36837,
    "c": 0.08601,
    "h": 40.7
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#642D18
secondary
#3E819A
accent
#B8E443
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0603
muted
#7E7A78

Preview Lab

Preview with #642D18

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

Preview Lab → · Contrast checker → · Palette generator →

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