#CC9840#CC9840

#CC9840 is a light, vivid orange. Relative luminance 0.357; OKLCH L 71.3% C 0.121 H 77.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CC9840
RGBrgb(204, 152, 64)
HSLhsl(38, 58%, 53%)
HSVhsv(38, 69%, 80%)
CMYKcmyk(0%, 25.5%, 68.6%, 20%)
CIE-LABlab(66.26, 10.68, 52.26)
CIE-LCHlch(66.26, 53.34, 78.45°)
OKLaboklab(71.31% 0.0259 0.118)
OKLCHoklch(71.31% 0.121 77.6)
XYZxyz(37.0578, 35.6668, 9.7821)
Luminance0.3566 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9840 #4074CC
analogous
#CC5240 #CC9840 #BACC40
triadic
#CC9840 #40CC98 #9840CC
tetradic
#CC9840 #40CC52 #4074CC #CC40BA
square
#CC9840 #40CC52 #4074CC #CC40BA
split-complementary
#CC9840 #40BACC #5240CC
monochromatic
#73541F #A3772C #CC9840 #D9B270 #E6CCA1

Accessibility & contrast

On white

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

On black

8.13
#CC9840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9840
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9840#FFFFFF#000000##000000
##CC98401.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A36
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#DD8A85
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc9840;
/* rgb */ color: rgb(204, 152, 64);
/* oklch */ color: oklch(71.3% 0.121 77.6);
Tailwind
colors: {
  custom: {
    50: '#e0b679',
    500: '#cc9840',
    950: '#000000',
  },
}
SCSS
$custom: #cc9840;
$custom-light: #e0b679;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9840",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 37.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71311,
    "c": 0.12084,
    "h": 77.6
  },
  "luminance": 0.35664
}

Semantic roles & 50–950 ramp

primary
#CC9840
secondary
#95ACD2
accent
#80E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CC9840

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

Preview Lab → · Contrast checker → · Palette generator →

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