#642F18#642F18

#642F18 is a dark, moderate orange. Relative luminance 0.048; OKLCH L 37.2% C 0.084 H 42.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#642F18
RGBrgb(100, 47, 24)
HSLhsl(18, 61%, 24%)
HSVhsv(18, 76%, 39%)
CMYKcmyk(0%, 53%, 76%, 60.8%)
CIE-LABlab(26.18, 21.99, 25.29)
CIE-LCHlch(26.18, 33.51, 49.00°)
OKLaboklab(37.19% 0.0616 0.0572)
OKLCHoklch(37.19% 0.084 42.9)
XYZxyz(6.4375, 4.8091, 1.4532)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F18 #184D64
analogous
#641827 #642F18 #645518
triadic
#642F18 #18642F #2F1864
tetradic
#642F18 #276418 #184D64 #551864
square
#642F18 #276418 #184D64 #551864
split-complementary
#642F18 #186455 #182764
monochromatic
#190C06 #33180C #642F18 #954624 #C75D30

Accessibility & contrast

On white

10.71
#642F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#642F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F18
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F18#FFFFFF#000000##FFFFFF
##642F181.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#6E242A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642f18;
/* rgb */ color: rgb(100, 47, 24);
/* oklch */ color: oklch(37.2% 0.084 42.9);
Tailwind
colors: {
  custom: {
    50: '#956856',
    500: '#642f18',
    950: '#000000',
  },
}
SCSS
$custom: #642f18;
$custom-light: #956856;
$custom-dark: #000000;
JSON
{
  "hex": "#642f18",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 18.158,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.08409,
    "h": 42.9
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#642F18
secondary
#3E7E9A
accent
#B4E443
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0603
muted
#7E7A78

Preview Lab

Preview with #642F18

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

Preview Lab → · Contrast checker → · Palette generator →

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