#CC7F2D#CC7F2D

#CC7F2D is a light, vivid orange. Relative luminance 0.282; OKLCH L 66.4% C 0.133 H 62.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#CC7F2D
RGBrgb(204, 127, 45)
HSLhsl(31, 64%, 49%)
HSVhsv(31, 78%, 80%)
CMYKcmyk(0%, 37.7%, 77.9%, 20%)
CIE-LABlab(60.08, 23.39, 54.26)
CIE-LCHlch(60.08, 59.09, 66.68°)
OKLaboklab(66.44% 0.0607 0.1184)
OKLCHoklch(66.44% 0.133 62.9)
XYZxyz(32.9676, 28.2089, 6.1908)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7F2D #2D7ACC
analogous
#CC2F2D #CC7F2D #CACC2D
triadic
#CC7F2D #2DCC7F #7F2DCC
tetradic
#CC7F2D #2DCC2F #2D7ACC #CC2DCA
square
#CC7F2D #2DCC2F #2D7ACC #CC2DCA
split-complementary
#CC7F2D #2DCACC #2F2DCC
monochromatic
#684117 #9A6022 #CC7F2D #DB9D5B #E6BB8D

Accessibility & contrast

On white

3.16
#CC7F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CC7F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7F2D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7F2D#FFFFFF#000000##000000
##CC7F2D1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#A9982E
Tritanopia (blue-blind)
#DF6D6F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc7f2d;
/* rgb */ color: rgb(204, 127, 45);
/* oklch */ color: oklch(66.4% 0.133 62.9);
Tailwind
colors: {
  custom: {
    50: '#e1a46c',
    500: '#cc7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #cc7f2d;
$custom-light: #e1a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7f2d",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 30.943,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66445,
    "c": 0.13306,
    "h": 62.9
  },
  "luminance": 0.28206
}

Semantic roles & 50–950 ramp

primary
#CC7F2D
secondary
#85A9D0
accent
#91E741
background
#FEFAF6
surface
#FDF4EC
border
#D5CEC7
text
#170F07
muted
#857F7A

Preview Lab

Preview with #CC7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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