#642A12#642A12

#642A12 is a dark, moderate orange. Relative luminance 0.044; OKLCH L 36.3% C 0.091 H 41.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#642A12
RGBrgb(100, 42, 18)
HSLhsl(18, 69%, 23%)
HSVhsv(18, 82%, 39%)
CMYKcmyk(0%, 58%, 82%, 60.8%)
CIE-LABlab(24.98, 24.55, 27.46)
CIE-LCHlch(24.98, 36.84, 48.20°)
OKLaboklab(36.25% 0.0683 0.0604)
OKLCHoklch(36.25% 0.091 41.5)
XYZxyz(6.1933, 4.4097, 1.0972)
Luminance0.0441 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A12 #124C64
analogous
#641223 #642A12 #645312
triadic
#642A12 #12642A #2A1264
tetradic
#642A12 #236412 #124C64 #531264
square
#642A12 #236412 #124C64 #531264
split-complementary
#642A12 #126453 #122364
monochromatic
#1A0B05 #301409 #642A12 #98401B #CC5625

Accessibility & contrast

On white

11.16
#642A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#642A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A12
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A12#FFFFFF#000000##FFFFFF
##642A121.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#6E1D25
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #642a12;
/* rgb */ color: rgb(100, 42, 18);
/* oklch */ color: oklch(36.3% 0.091 41.5);
Tailwind
colors: {
  custom: {
    50: '#966551',
    500: '#642a12',
    950: '#000000',
  },
}
SCSS
$custom: #642a12;
$custom-light: #966551;
$custom-dark: #000000;
JSON
{
  "hex": "#642a12",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 17.561,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.09114,
    "h": 41.5
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#642A12
secondary
#367E9C
accent
#B9EC3B
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0602
muted
#7E7A78

Preview Lab

Preview with #642A12

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

Preview Lab → · Contrast checker → · Palette generator →

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