#CC842F#CC842F

#CC842F is a light, vivid orange. Relative luminance 0.295; OKLCH L 67.4% C 0.131 H 66.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CC842F
RGBrgb(204, 132, 47)
HSLhsl(32, 63%, 49%)
HSVhsv(32, 77%, 80%)
CMYKcmyk(0%, 35.3%, 77%, 20%)
CIE-LABlab(61.26, 20.75, 54.57)
CIE-LCHlch(61.26, 58.38, 69.18°)
OKLaboklab(67.37% 0.0532 0.1195)
OKLCHoklch(67.37% 0.131 66)
XYZxyz(33.6689, 29.5484, 6.6190)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC842F #2F77CC
analogous
#CC352F #CC842F #C6CC2F
triadic
#CC842F #2FCC84 #842FCC
tetradic
#CC842F #2FCC35 #2F77CC #CC2FC6
square
#CC842F #2FCC35 #2F77CC #CC2FC6
split-complementary
#CC842F #2FC6CC #352FCC
monochromatic
#694418 #9A6424 #CC842F #DAA15E #E5BE90

Accessibility & contrast

On white

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

On black

6.91
#CC842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC842F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC842F#FFFFFF#000000##000000
##CC842F1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A23
Deuteranopia (green-blind)
#AC9B31
Tritanopia (blue-blind)
#DF7373
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc842f;
/* rgb */ color: rgb(204, 132, 47);
/* oklch */ color: oklch(67.4% 0.131 66.0);
Tailwind
colors: {
  custom: {
    50: '#e1a86d',
    500: '#cc842f',
    950: '#000000',
  },
}
SCSS
$custom: #cc842f;
$custom-light: #e1a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc842f",
  "rgb": {
    "r": 204,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 32.484,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67369,
    "c": 0.13084,
    "h": 66
  },
  "luminance": 0.29545
}

Semantic roles & 50–950 ramp

primary
#CC842F
secondary
#87A8D0
accent
#8DE642
background
#FEFAF6
surface
#FDF4EC
border
#D5CEC7
text
#160F07
muted
#847F7A

Preview Lab

Preview with #CC842F

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

Preview Lab → · Contrast checker → · Palette generator →

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