#CC842A#CC842A

#CC842A is a light, vivid orange. Relative luminance 0.295; OKLCH L 67.3% C 0.133 H 67.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CC842A
RGBrgb(204, 132, 42)
HSLhsl(33, 66%, 48%)
HSVhsv(33, 79%, 80%)
CMYKcmyk(0%, 35.3%, 79.4%, 20%)
CIE-LABlab(61.23, 20.56, 56.55)
CIE-LCHlch(61.23, 60.17, 70.02°)
OKLaboklab(67.33% 0.052 0.1226)
OKLCHoklch(67.33% 0.133 67)
XYZxyz(33.5737, 29.5103, 6.1179)
Luminance0.2951 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC842A #2A72CC
analogous
#CC332A #CC842A #C3CC2A
triadic
#CC842A #2ACC84 #842ACC
tetradic
#CC842A #2ACC33 #2A72CC #CC2AC3
square
#CC842A #2ACC33 #2A72CC #CC2AC3
split-complementary
#CC842A #2AC3CC #332ACC
monochromatic
#664215 #996320 #CC842A #DCA157 #E7BD8A

Accessibility & contrast

On white

3.04
#CC842A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CC842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC842A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC842A#FFFFFF#000000##000000
##CC842A1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1B
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#DF7372
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc842a;
/* rgb */ color: rgb(204, 132, 42);
/* oklch */ color: oklch(67.3% 0.133 67.0);
Tailwind
colors: {
  custom: {
    50: '#e1a86b',
    500: '#cc842a',
    950: '#000000',
  },
}
SCSS
$custom: #cc842a;
$custom-light: #e1a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc842a",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 33.333,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.13317,
    "h": 67
  },
  "luminance": 0.29507
}

Semantic roles & 50–950 ramp

primary
#CC842A
secondary
#81A4D1
accent
#8AE93F
background
#FEFAF6
surface
#FDF4EB
border
#D5CEC6
text
#170F07
muted
#857F7A

Preview Lab

Preview with #CC842A

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

Preview Lab → · Contrast checker → · Palette generator →

#CC842A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva