#CC9D31#CC9D31

#CC9D31 is a light, vivid orange. Relative luminance 0.372; OKLCH L 72.2% C 0.132 H 83.9°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CC9D31
RGBrgb(204, 157, 49)
HSLhsl(42, 61%, 50%)
HSVhsv(42, 76%, 80%)
CMYKcmyk(0%, 23%, 76%, 20%)
CIE-LABlab(67.41, 7.25, 59.68)
CIE-LCHlch(67.41, 60.12, 83.07°)
OKLaboklab(72.17% 0.0141 0.1309)
OKLCHoklch(72.17% 0.132 83.9)
XYZxyz(37.5156, 37.1758, 8.1049)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9D31 #3160CC
analogous
#CC4F31 #CC9D31 #AECC31
triadic
#CC9D31 #31CC9D #9D31CC
tetradic
#CC9D31 #31CC4F #3160CC #CC31AE
square
#CC9D31 #31CC4F #3160CC #CC31AE
split-complementary
#CC9D31 #31AECC #4F31CC
monochromatic
#695119 #9B7725 #CC9D31 #D9B561 #E5CC92

Accessibility & contrast

On white

2.49
#CC9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#CC9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9D31
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9D31#FFFFFF#000000##000000
##CC9D311.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1F
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#DE8E88
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc9d31;
/* rgb */ color: rgb(204, 157, 49);
/* oklch */ color: oklch(72.2% 0.132 83.9);
Tailwind
colors: {
  custom: {
    50: '#e0b971',
    500: '#cc9d31',
    950: '#000000',
  },
}
SCSS
$custom: #cc9d31;
$custom-light: #e0b971;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9d31",
  "rgb": {
    "r": 204,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 41.806,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72172,
    "c": 0.13166,
    "h": 83.9
  },
  "luminance": 0.37173
}

Semantic roles & 50–950 ramp

primary
#CC9D31
secondary
#899ED0
accent
#74E443
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #CC9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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