#CC9940#CC9940

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

Color values

HEX#CC9940
RGBrgb(204, 153, 64)
HSLhsl(38, 58%, 53%)
HSVhsv(38, 69%, 80%)
CMYKcmyk(0%, 25%, 68.6%, 20%)
CIE-LABlab(66.51, 10.14, 52.53)
CIE-LCHlch(66.51, 53.50, 79.07°)
OKLaboklab(71.51% 0.0243 0.1186)
OKLCHoklch(71.51% 0.121 78.4)
XYZxyz(37.2208, 35.9928, 9.8364)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9940 #4073CC
analogous
#CC5340 #CC9940 #B9CC40
triadic
#CC9940 #40CC99 #9940CC
tetradic
#CC9940 #40CC53 #4073CC #CC40B9
square
#CC9940 #40CC53 #4073CC #CC40B9
split-complementary
#CC9940 #40B9CC #5340CC
monochromatic
#73541F #A3782C #CC9940 #D9B370 #E6CDA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC9940#FFFFFF#000000##000000
##CC99401.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)
#AD9A36
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#DD8B86
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc9940;
/* rgb */ color: rgb(204, 153, 64);
/* oklch */ color: oklch(71.5% 0.121 78.4);
Tailwind
colors: {
  custom: {
    50: '#e0b679',
    500: '#cc9940',
    950: '#000000',
  },
}
SCSS
$custom: #cc9940;
$custom-light: #e0b679;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9940",
  "rgb": {
    "r": 204,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 38.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.12107,
    "h": 78.4
  },
  "luminance": 0.3599
}

Semantic roles & 50–950 ramp

primary
#CC9940
secondary
#95ACD2
accent
#7FE147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CC9940

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

Preview Lab → · Contrast checker → · Palette generator →

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