#CC9F31#CC9F31

#CC9F31 is a light, vivid orange. Relative luminance 0.379; OKLCH L 72.6% C 0.132 H 85.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CC9F31
RGBrgb(204, 159, 49)
HSLhsl(43, 61%, 50%)
HSVhsv(43, 76%, 80%)
CMYKcmyk(0%, 22.1%, 76%, 20%)
CIE-LABlab(67.92, 6.17, 60.16)
CIE-LCHlch(67.92, 60.48, 84.14°)
OKLaboklab(72.57% 0.011 0.1319)
OKLCHoklch(72.57% 0.132 85.2)
XYZxyz(37.8567, 37.8581, 8.2186)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9F31 #315ECC
analogous
#CC5231 #CC9F31 #ABCC31
triadic
#CC9F31 #31CC9F #9F31CC
tetradic
#CC9F31 #31CC52 #315ECC #CC31AB
square
#CC9F31 #31CC52 #315ECC #CC31AB
split-complementary
#CC9F31 #31ABCC #5231CC
monochromatic
#695219 #9B7925 #CC9F31 #D9B661 #E5CD92

Accessibility & contrast

On white

2.45
#CC9F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CC9F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9F31
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9F31#FFFFFF#000000##000000
##CC9F311.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#DD9089
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc9f31;
/* rgb */ color: rgb(204, 159, 49);
/* oklch */ color: oklch(72.6% 0.132 85.2);
Tailwind
colors: {
  custom: {
    50: '#e0bb71',
    500: '#cc9f31',
    950: '#000000',
  },
}
SCSS
$custom: #cc9f31;
$custom-light: #e0bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9f31",
  "rgb": {
    "r": 204,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 42.581,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72571,
    "c": 0.13239,
    "h": 85.2
  },
  "luminance": 0.37855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC9F31

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

Preview Lab → · Contrast checker → · Palette generator →

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