#642D12#642D12

#642D12 is a dark, moderate orange. Relative luminance 0.046; OKLCH L 36.8% C 0.088 H 44.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#642D12
RGBrgb(100, 45, 18)
HSLhsl(20, 69%, 23%)
HSVhsv(20, 82%, 39%)
CMYKcmyk(0%, 55%, 82%, 60.8%)
CIE-LABlab(25.66, 22.84, 28.14)
CIE-LCHlch(25.66, 36.25, 50.94°)
OKLaboklab(36.77% 0.0631 0.0619)
OKLCHoklch(36.77% 0.088 44.4)
XYZxyz(6.3037, 4.6306, 1.1340)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642D12 #124964
analogous
#641220 #642D12 #645612
triadic
#642D12 #12642D #2D1264
tetradic
#642D12 #206412 #124964 #561264
square
#642D12 #206412 #124964 #561264
split-complementary
#642D12 #126456 #122064
monochromatic
#1A0C05 #301609 #642D12 #98441B #CC5C25

Accessibility & contrast

On white

10.90
#642D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642D12
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642D12#FFFFFF#000000##FFFFFF
##642D121.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#4A4111
Tritanopia (blue-blind)
#6E2127
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #642d12;
/* rgb */ color: rgb(100, 45, 18);
/* oklch */ color: oklch(36.8% 0.088 44.4);
Tailwind
colors: {
  custom: {
    50: '#966751',
    500: '#642d12',
    950: '#000000',
  },
}
SCSS
$custom: #642d12;
$custom-light: #966751;
$custom-dark: #000000;
JSON
{
  "hex": "#642d12",
  "rgb": {
    "r": 100,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 19.756,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.08832,
    "h": 44.4
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#642D12
secondary
#367A9C
accent
#B2EC3B
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0602
muted
#7E7A78

Preview Lab

Preview with #642D12

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

Preview Lab → · Contrast checker → · Palette generator →

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