#662A12#662A12

#662A12 is a dark, moderate orange. Relative luminance 0.045; OKLCH L 36.6% C 0.094 H 40.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#662A12
RGBrgb(102, 42, 18)
HSLhsl(17, 70%, 24%)
HSVhsv(17, 82%, 40%)
CMYKcmyk(0%, 58.8%, 82.4%, 60%)
CIE-LABlab(25.34, 25.42, 27.93)
CIE-LCHlch(25.34, 37.77, 47.70°)
OKLaboklab(36.59% 0.0707 0.0613)
OKLCHoklch(36.59% 0.094 40.9)
XYZxyz(6.4173, 4.5252, 1.1077)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662A12 #124E66
analogous
#661224 #662A12 #665412
triadic
#662A12 #12662A #2A1266
tetradic
#662A12 #246612 #124E66 #541266
square
#662A12 #246612 #124E66 #541266
split-complementary
#662A12 #126654 #122466
monochromatic
#1A0B05 #321509 #662A12 #9A3F1B #CE5524

Accessibility & contrast

On white

11.02
#662A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#662A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662A12
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662A12#FFFFFF#000000##FFFFFF
##662A121.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#711D25
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #662a12;
/* rgb */ color: rgb(102, 42, 18);
/* oklch */ color: oklch(36.6% 0.094 40.9);
Tailwind
colors: {
  custom: {
    50: '#986551',
    500: '#662a12',
    950: '#000000',
  },
}
SCSS
$custom: #662a12;
$custom-light: #986551;
$custom-dark: #000000;
JSON
{
  "hex": "#662a12",
  "rgb": {
    "r": 102,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 17.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.09356,
    "h": 40.9
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#662A12
secondary
#36809E
accent
#BAED3B
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0F0602
muted
#7E7A78

Preview Lab

Preview with #662A12

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

Preview Lab → · Contrast checker → · Palette generator →

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