#CC9942#CC9942

#CC9942 is a light, moderate orange. Relative luminance 0.360; OKLCH L 71.5% C 0.120 H 78.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CC9942
RGBrgb(204, 153, 66)
HSLhsl(38, 58%, 53%)
HSVhsv(38, 68%, 80%)
CMYKcmyk(0%, 25%, 67.6%, 20%)
CIE-LABlab(66.53, 10.26, 51.64)
CIE-LCHlch(66.53, 52.65, 78.77°)
OKLaboklab(71.53% 0.0249 0.1171)
OKLCHoklch(71.53% 0.12 78)
XYZxyz(37.2787, 36.0159, 10.1415)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9942 #4275CC
analogous
#CC5442 #CC9942 #BACC42
triadic
#CC9942 #42CC99 #9942CC
tetradic
#CC9942 #42CC54 #4275CC #CC42BA
square
#CC9942 #42CC54 #4275CC #CC42BA
split-complementary
#CC9942 #42BACC #5442CC
monochromatic
#74551F #A4782C #CC9942 #D9B372 #E6CDA2

Accessibility & contrast

On white

2.56
#CC9942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#CC9942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9942
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9942#FFFFFF#000000##000000
##CC99421.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A38
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#DD8B86
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc9942;
/* rgb */ color: rgb(204, 153, 66);
/* oklch */ color: oklch(71.5% 0.120 78.0);
Tailwind
colors: {
  custom: {
    50: '#e0b67a',
    500: '#cc9942',
    950: '#000000',
  },
}
SCSS
$custom: #cc9942;
$custom-light: #e0b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9942",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 66
  },
  "hsl": {
    "h": 37.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71526,
    "c": 0.11968,
    "h": 78
  },
  "luminance": 0.36013
}

Semantic roles & 50–950 ramp

primary
#CC9942
secondary
#97ADD3
accent
#80E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CC9942

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

Preview Lab → · Contrast checker → · Palette generator →

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