#CC942D#CC942D

#CC942D is a light, vivid orange. Relative luminance 0.342; OKLCH L 70.4% C 0.132 H 78.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CC942D
RGBrgb(204, 148, 45)
HSLhsl(39, 64%, 49%)
HSVhsv(39, 78%, 80%)
CMYKcmyk(0%, 27.5%, 77.9%, 20%)
CIE-LABlab(65.13, 11.96, 59.03)
CIE-LCHlch(65.13, 60.23, 78.54°)
OKLaboklab(70.38% 0.0273 0.1287)
OKLCHoklch(70.38% 0.132 78)
XYZxyz(35.9679, 34.2096, 7.1909)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC942D #2D65CC
analogous
#CC452D #CC942D #B5CC2D
triadic
#CC942D #2DCC94 #942DCC
tetradic
#CC942D #2DCC45 #2D65CC #CC2DB5
square
#CC942D #2DCC45 #2D65CC #CC2DB5
split-complementary
#CC942D #2DB5CC #452DCC
monochromatic
#684B17 #9A7022 #CC942D #DBAE5B #E6C78D

Accessibility & contrast

On white

2.68
#CC942D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CC942D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC942D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC942D#FFFFFF#000000##000000
##CC942D1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961B
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#DE8480
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc942d;
/* rgb */ color: rgb(204, 148, 45);
/* oklch */ color: oklch(70.4% 0.132 78.0);
Tailwind
colors: {
  custom: {
    50: '#e1b36e',
    500: '#cc942d',
    950: '#000000',
  },
}
SCSS
$custom: #cc942d;
$custom-light: #e1b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc942d",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 38.868,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70377,
    "c": 0.13152,
    "h": 78
  },
  "luminance": 0.34207
}

Semantic roles & 50–950 ramp

primary
#CC942D
secondary
#859FD0
accent
#7BE741
background
#FEFAF6
surface
#FDF5EC
border
#D5CFC7
text
#161108
muted
#84807B

Preview Lab

Preview with #CC942D

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

Preview Lab → · Contrast checker → · Palette generator →

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