#CC7942#CC7942

#CC7942 is a light, vivid orange. Relative luminance 0.269; OKLCH L 65.6% C 0.125 H 52.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CC7942
RGBrgb(204, 121, 66)
HSLhsl(24, 58%, 53%)
HSVhsv(24, 68%, 80%)
CMYKcmyk(0%, 40.7%, 67.6%, 20%)
CIE-LABlab(58.89, 27.64, 43.23)
CIE-LCHlch(58.89, 51.31, 57.40°)
OKLaboklab(65.59% 0.0765 0.0991)
OKLCHoklch(65.59% 0.125 52.3)
XYZxyz(32.7252, 26.9088, 8.6237)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7942 #4295CC
analogous
#CC4250 #CC7942 #CCBE42
triadic
#CC7942 #42CC79 #7942CC
tetradic
#CC7942 #50CC42 #4295CC #BE42CC
square
#CC7942 #50CC42 #4295CC #BE42CC
split-complementary
#CC7942 #42CCBE #4250CC
monochromatic
#74411F #A45C2C #CC7942 #D99B72 #E6BDA2

Accessibility & contrast

On white

3.29
#CC7942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CC7942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7942
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7942#FFFFFF#000000##000000
##CC79421.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823C
Deuteranopia (green-blind)
#A59542
Tritanopia (blue-blind)
#DE686D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc7942;
/* rgb */ color: rgb(204, 121, 66);
/* oklch */ color: oklch(65.6% 0.125 52.3);
Tailwind
colors: {
  custom: {
    50: '#e1a078',
    500: '#cc7942',
    950: '#000000',
  },
}
SCSS
$custom: #cc7942;
$custom-light: #e1a078;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7942",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 23.913,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.65587,
    "c": 0.12517,
    "h": 52.3
  },
  "luminance": 0.26905
}

Semantic roles & 50–950 ramp

primary
#CC7942
secondary
#97BBD3
accent
#A3E147
background
#FEF9F7
surface
#FDF2ED
border
#D5CCC8
text
#160F09
muted
#847E7B

Preview Lab

Preview with #CC7942

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

Preview Lab → · Contrast checker → · Palette generator →

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