#CC7F42#CC7F42

#CC7F42 is a light, vivid orange. Relative luminance 0.284; OKLCH L 66.6% C 0.122 H 56.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CC7F42
RGBrgb(204, 127, 66)
HSLhsl(27, 58%, 53%)
HSVhsv(27, 68%, 80%)
CMYKcmyk(0%, 37.7%, 67.6%, 20%)
CIE-LABlab(60.26, 24.40, 44.77)
CIE-LCHlch(60.26, 50.99, 61.41°)
OKLaboklab(66.65% 0.0668 0.1024)
OKLCHoklch(66.65% 0.122 56.9)
XYZxyz(33.4771, 28.4127, 8.8743)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7F42 #428FCC
analogous
#CC424A #CC7F42 #CCC442
triadic
#CC7F42 #42CC7F #7F42CC
tetradic
#CC7F42 #4ACC42 #428FCC #C442CC
square
#CC7F42 #4ACC42 #428FCC #C442CC
split-complementary
#CC7F42 #42CCC4 #424ACC
monochromatic
#74451F #A4612C #CC7F42 #D9A072 #E6C0A2

Accessibility & contrast

On white

3.14
#CC7F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#CC7F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7F42
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7F42#FFFFFF#000000##000000
##CC7F421.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96873C
Deuteranopia (green-blind)
#A89842
Tritanopia (blue-blind)
#DE6F71
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc7f42;
/* rgb */ color: rgb(204, 127, 66);
/* oklch */ color: oklch(66.6% 0.122 56.9);
Tailwind
colors: {
  custom: {
    50: '#e1a479',
    500: '#cc7f42',
    950: '#000000',
  },
}
SCSS
$custom: #cc7f42;
$custom-light: #e1a479;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7f42",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 66
  },
  "hsl": {
    "h": 26.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.66645,
    "c": 0.12222,
    "h": 56.9
  },
  "luminance": 0.28409
}

Semantic roles & 50–950 ramp

primary
#CC7F42
secondary
#97B8D3
accent
#9DE147
background
#FEFAF7
surface
#FDF4ED
border
#D5CEC8
text
#160F09
muted
#847F7B

Preview Lab

Preview with #CC7F42

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

Preview Lab → · Contrast checker → · Palette generator →

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