#CC9842#CC9842

#CC9842 is a light, moderate orange. Relative luminance 0.357; OKLCH L 71.3% C 0.119 H 77.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CC9842
RGBrgb(204, 152, 66)
HSLhsl(37, 58%, 53%)
HSVhsv(37, 68%, 80%)
CMYKcmyk(0%, 25.5%, 67.6%, 20%)
CIE-LABlab(66.28, 10.80, 51.37)
CIE-LCHlch(66.28, 52.49, 78.13°)
OKLaboklab(71.33% 0.0265 0.1165)
OKLCHoklch(71.33% 0.119 77.2)
XYZxyz(37.1158, 35.6900, 10.0872)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9842 #4276CC
analogous
#CC5342 #CC9842 #BBCC42
triadic
#CC9842 #42CC98 #9842CC
tetradic
#CC9842 #42CC53 #4276CC #CC42BB
square
#CC9842 #42CC53 #4276CC #CC42BB
split-complementary
#CC9842 #42BBCC #5342CC
monochromatic
#74541F #A4772C #CC9842 #D9B272 #E6CDA2

Accessibility & contrast

On white

2.58
#CC9842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CC9842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9842
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9842#FFFFFF#000000##000000
##CC98421.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#B8A645
Tritanopia (blue-blind)
#DD8A86
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc9842;
/* rgb */ color: rgb(204, 152, 66);
/* oklch */ color: oklch(71.3% 0.119 77.2);
Tailwind
colors: {
  custom: {
    50: '#e0b67a',
    500: '#cc9842',
    950: '#000000',
  },
}
SCSS
$custom: #cc9842;
$custom-light: #e0b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9842",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 37.391,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.11945,
    "h": 77.2
  },
  "luminance": 0.35687
}

Semantic roles & 50–950 ramp

primary
#CC9842
secondary
#97AED3
accent
#81E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CC9842

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

Preview Lab → · Contrast checker → · Palette generator →

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