#CC7842#CC7842

#CC7842 is a light, vivid orange. Relative luminance 0.267; OKLCH L 65.4% C 0.126 H 51.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CC7842
RGBrgb(204, 120, 66)
HSLhsl(23, 58%, 53%)
HSVhsv(23, 68%, 80%)
CMYKcmyk(0%, 41.2%, 67.6%, 20%)
CIE-LABlab(58.66, 28.18, 42.98)
CIE-LCHlch(58.66, 51.39, 56.75°)
OKLaboklab(65.41% 0.0782 0.0985)
OKLCHoklch(65.41% 0.126 51.6)
XYZxyz(32.6043, 26.6670, 8.5834)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7842 #4296CC
analogous
#CC4251 #CC7842 #CCBD42
triadic
#CC7842 #42CC78 #7842CC
tetradic
#CC7842 #51CC42 #4296CC #BD42CC
square
#CC7842 #51CC42 #4296CC #BD42CC
split-complementary
#CC7842 #42CCBD #4251CC
monochromatic
#74411F #A45B2C #CC7842 #D99A72 #E6BDA2

Accessibility & contrast

On white

3.32
#CC7842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CC7842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7842
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7842#FFFFFF#000000##000000
##CC78421.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823D
Deuteranopia (green-blind)
#A49442
Tritanopia (blue-blind)
#DE676C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc7842;
/* rgb */ color: rgb(204, 120, 66);
/* oklch */ color: oklch(65.4% 0.126 51.6);
Tailwind
colors: {
  custom: {
    50: '#e19f78',
    500: '#cc7842',
    950: '#000000',
  },
}
SCSS
$custom: #cc7842;
$custom-light: #e19f78;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7842",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 66
  },
  "hsl": {
    "h": 23.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.65414,
    "c": 0.12574,
    "h": 51.6
  },
  "luminance": 0.26664
}

Semantic roles & 50–950 ramp

primary
#CC7842
secondary
#97BBD3
accent
#A5E147
background
#FEF9F7
surface
#FDF2ED
border
#D5CCC8
text
#160E09
muted
#847E7B

Preview Lab

Preview with #CC7842

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

Preview Lab → · Contrast checker → · Palette generator →

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