#CC9540#CC9540

#CC9540 is a light, vivid orange. Relative luminance 0.347; OKLCH L 70.7% C 0.120 H 75.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CC9540
RGBrgb(204, 149, 64)
HSLhsl(36, 58%, 53%)
HSVhsv(36, 69%, 80%)
CMYKcmyk(0%, 27%, 68.6%, 20%)
CIE-LABlab(65.52, 12.31, 51.47)
CIE-LCHlch(65.52, 52.92, 76.55°)
OKLaboklab(70.73% 0.0307 0.1163)
OKLCHoklch(70.73% 0.12 75.2)
XYZxyz(36.5771, 34.7053, 9.6218)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9540 #4077CC
analogous
#CC4F40 #CC9540 #BDCC40
triadic
#CC9540 #40CC95 #9540CC
tetradic
#CC9540 #40CC4F #4077CC #CC40BD
square
#CC9540 #40CC4F #4077CC #CC40BD
split-complementary
#CC9540 #40BDCC #4F40CC
monochromatic
#73521F #A3742C #CC9540 #D9B070 #E6CBA1

Accessibility & contrast

On white

2.64
#CC9540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CC9540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9540
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9540#FFFFFF#000000##000000
##CC95401.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99736
Deuteranopia (green-blind)
#B6A443
Tritanopia (blue-blind)
#DD8683
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc9540;
/* rgb */ color: rgb(204, 149, 64);
/* oklch */ color: oklch(70.7% 0.120 75.2);
Tailwind
colors: {
  custom: {
    50: '#e0b479',
    500: '#cc9540',
    950: '#000000',
  },
}
SCSS
$custom: #cc9540;
$custom-light: #e0b479;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9540",
  "rgb": {
    "r": 204,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 36.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70728,
    "c": 0.12032,
    "h": 75.2
  },
  "luminance": 0.34702
}

Semantic roles & 50–950 ramp

primary
#CC9540
secondary
#95ADD2
accent
#83E147
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CC9540

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

Preview Lab → · Contrast checker → · Palette generator →

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