#CC7F40#CC7F40

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

Color values

HEX#CC7F40
RGBrgb(204, 127, 64)
HSLhsl(27, 58%, 53%)
HSVhsv(27, 69%, 80%)
CMYKcmyk(0%, 37.7%, 68.6%, 20%)
CIE-LABlab(60.24, 24.29, 45.74)
CIE-LCHlch(60.24, 51.79, 62.03°)
OKLaboklab(66.62% 0.0661 0.1041)
OKLCHoklch(66.62% 0.123 57.6)
XYZxyz(33.4192, 28.3895, 8.5692)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7F40 #408DCC
analogous
#CC4047 #CC7F40 #CCC540
triadic
#CC7F40 #40CC7F #7F40CC
tetradic
#CC7F40 #47CC40 #408DCC #C540CC
square
#CC7F40 #47CC40 #408DCC #C540CC
split-complementary
#CC7F40 #40CCC5 #4047CC
monochromatic
#73451F #A3612C #CC7F40 #D99F70 #E6C0A1

Accessibility & contrast

On white

3.15
#CC7F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7F40#FFFFFF#000000##000000
##CC7F401.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968739
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#DE6F71
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc7f40;
/* rgb */ color: rgb(204, 127, 64);
/* oklch */ color: oklch(66.6% 0.123 57.6);
Tailwind
colors: {
  custom: {
    50: '#e1a477',
    500: '#cc7f40',
    950: '#000000',
  },
}
SCSS
$custom: #cc7f40;
$custom-light: #e1a477;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7f40",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 27,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.66622,
    "c": 0.12334,
    "h": 57.6
  },
  "luminance": 0.28386
}

Semantic roles & 50–950 ramp

primary
#CC7F40
secondary
#95B7D2
accent
#9CE147
background
#FEFAF7
surface
#FDF4ED
border
#D5CEC8
text
#160F09
muted
#847F7B

Preview Lab

Preview with #CC7F40

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

Preview Lab → · Contrast checker → · Palette generator →

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