#662D12#662D12

#662D12 is a dark, moderate orange. Relative luminance 0.047; OKLCH L 37.1% C 0.091 H 43.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#662D12
RGBrgb(102, 45, 18)
HSLhsl(19, 70%, 24%)
HSVhsv(19, 82%, 40%)
CMYKcmyk(0%, 55.9%, 82.4%, 60%)
CIE-LABlab(26.00, 23.73, 28.60)
CIE-LCHlch(26.00, 37.16, 50.32°)
OKLaboklab(37.1% 0.0656 0.0627)
OKLCHoklch(37.1% 0.091 43.7)
XYZxyz(6.5277, 4.7461, 1.1445)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662D12 #124B66
analogous
#661221 #662D12 #665712
triadic
#662D12 #12662D #2D1266
tetradic
#662D12 #216612 #124B66 #571266
square
#662D12 #216612 #124B66 #571266
split-complementary
#662D12 #126657 #122166
monochromatic
#1A0B05 #321609 #662D12 #9A441B #CE5B24

Accessibility & contrast

On white

10.77
#662D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#662D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662D12
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662D12#FFFFFF#000000##FFFFFF
##662D121.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360F
Deuteranopia (green-blind)
#4B4211
Tritanopia (blue-blind)
#712127
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #662d12;
/* rgb */ color: rgb(102, 45, 18);
/* oklch */ color: oklch(37.1% 0.091 43.7);
Tailwind
colors: {
  custom: {
    50: '#976752',
    500: '#662d12',
    950: '#000000',
  },
}
SCSS
$custom: #662d12;
$custom-light: #976752;
$custom-dark: #000000;
JSON
{
  "hex": "#662d12",
  "rgb": {
    "r": 102,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 19.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37095,
    "c": 0.09071,
    "h": 43.7
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#662D12
secondary
#367C9E
accent
#B4ED3B
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0F0602
muted
#7E7A78

Preview Lab

Preview with #662D12

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

Preview Lab → · Contrast checker → · Palette generator →

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