#CC8942#CC8942

#CC8942 is a light, moderate orange. Relative luminance 0.311; OKLCH L 68.5% C 0.119 H 64.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CC8942
RGBrgb(204, 137, 66)
HSLhsl(31, 58%, 53%)
HSVhsv(31, 68%, 80%)
CMYKcmyk(0%, 32.8%, 67.6%, 20%)
CIE-LABlab(62.61, 18.96, 47.38)
CIE-LCHlch(62.61, 51.03, 68.19°)
OKLaboklab(68.47% 0.0506 0.108)
OKLCHoklch(68.47% 0.119 64.9)
XYZxyz(34.8333, 31.1251, 9.3264)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8942 #4285CC
analogous
#CC4442 #CC8942 #CACC42
triadic
#CC8942 #42CC89 #8942CC
tetradic
#CC8942 #42CC44 #4285CC #CC42CA
square
#CC8942 #42CC44 #4285CC #CC42CA
split-complementary
#CC8942 #42CACC #4442CC
monochromatic
#744B1F #A46A2C #CC8942 #D9A772 #E6C5A2

Accessibility & contrast

On white

2.91
#CC8942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CC8942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8942
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8942#FFFFFF#000000##000000
##CC89421.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E3A
Deuteranopia (green-blind)
#AE9E43
Tritanopia (blue-blind)
#DE7A79
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc8942;
/* rgb */ color: rgb(204, 137, 66);
/* oklch */ color: oklch(68.5% 0.119 64.9);
Tailwind
colors: {
  custom: {
    50: '#e0ab79',
    500: '#cc8942',
    950: '#000000',
  },
}
SCSS
$custom: #cc8942;
$custom-light: #e0ab79;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8942",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 30.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.68469,
    "c": 0.11921,
    "h": 64.9
  },
  "luminance": 0.31122
}

Semantic roles & 50–950 ramp

primary
#CC8942
secondary
#97B4D3
accent
#92E147
background
#FEFAF7
surface
#FDF4EE
border
#D5CEC9
text
#161009
muted
#847F7B

Preview Lab

Preview with #CC8942

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

Preview Lab → · Contrast checker → · Palette generator →

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