#CC7F2F#CC7F2F

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

Color values

HEX#CC7F2F
RGBrgb(204, 127, 47)
HSLhsl(31, 63%, 49%)
HSVhsv(31, 77%, 80%)
CMYKcmyk(0%, 37.7%, 77%, 20%)
CIE-LABlab(60.09, 23.47, 53.44)
CIE-LCHlch(60.09, 58.36, 66.29°)
OKLaboklab(66.46% 0.0612 0.1171)
OKLCHoklch(66.46% 0.132 62.4)
XYZxyz(33.0070, 28.2247, 6.3984)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7F2F #2F7CCC
analogous
#CC302F #CC7F2F #CBCC2F
triadic
#CC7F2F #2FCC7F #7F2FCC
tetradic
#CC7F2F #2FCC30 #2F7CCC #CC2FCB
square
#CC7F2F #2FCC30 #2F7CCC #CC2FCB
split-complementary
#CC7F2F #2FCBCC #302FCC
monochromatic
#694118 #9A6024 #CC7F2F #DA9D5E #E5BC90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7F2F#FFFFFF#000000##000000
##CC7F2F1.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)
#978624
Deuteranopia (green-blind)
#A99830
Tritanopia (blue-blind)
#DF6D6F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc7f2f;
/* rgb */ color: rgb(204, 127, 47);
/* oklch */ color: oklch(66.5% 0.132 62.4);
Tailwind
colors: {
  custom: {
    50: '#e1a46d',
    500: '#cc7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #cc7f2f;
$custom-light: #e1a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7f2f",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 30.573,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66461,
    "c": 0.13213,
    "h": 62.4
  },
  "luminance": 0.28221
}

Semantic roles & 50–950 ramp

primary
#CC7F2F
secondary
#87ABD0
accent
#92E642
background
#FEFAF6
surface
#FDF4EC
border
#D5CEC7
text
#170F07
muted
#857F7A

Preview Lab

Preview with #CC7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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