#642E12#642E12

#642E12 is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.9% C 0.087 H 45.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#642E12
RGBrgb(100, 46, 18)
HSLhsl(20, 69%, 23%)
HSVhsv(20, 82%, 39%)
CMYKcmyk(0%, 54%, 82%, 60.8%)
CIE-LABlab(25.89, 22.26, 28.38)
CIE-LCHlch(25.89, 36.07, 51.88°)
OKLaboklab(36.94% 0.0613 0.0624)
OKLCHoklch(36.94% 0.087 45.5)
XYZxyz(6.3423, 4.7078, 1.1469)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642E12 #124864
analogous
#64121F #642E12 #645712
triadic
#642E12 #12642E #2E1264
tetradic
#642E12 #1F6412 #124864 #571264
square
#642E12 #1F6412 #124864 #571264
split-complementary
#642E12 #126457 #121F64
monochromatic
#1A0C05 #301609 #642E12 #98461B #CC5E25

Accessibility & contrast

On white

10.82
#642E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#642E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642E12
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642E12#FFFFFF#000000##FFFFFF
##642E121.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360E
Deuteranopia (green-blind)
#4A4211
Tritanopia (blue-blind)
#6E2228
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #642e12;
/* rgb */ color: rgb(100, 46, 18);
/* oklch */ color: oklch(36.9% 0.087 45.5);
Tailwind
colors: {
  custom: {
    50: '#966852',
    500: '#642e12',
    950: '#000000',
  },
}
SCSS
$custom: #642e12;
$custom-light: #966852;
$custom-dark: #000000;
JSON
{
  "hex": "#642e12",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 20.488,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.08743,
    "h": 45.5
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#642E12
secondary
#36799C
accent
#B0EC3B
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0602
muted
#7E7A78

Preview Lab

Preview with #642E12

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

Preview Lab → · Contrast checker → · Palette generator →

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