#CCA87F#CCA87F

#CCA87F is a light, moderate orange. Relative luminance 0.424; OKLCH L 75.4% C 0.069 H 70.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CCA87F
RGBrgb(204, 168, 127)
HSLhsl(32, 43%, 65%)
HSVhsv(32, 38%, 80%)
CMYKcmyk(0%, 17.6%, 37.7%, 20%)
CIE-LABlab(71.13, 7.49, 26.14)
CIE-LCHlch(71.13, 27.19, 74.01°)
OKLaboklab(75.39% 0.0236 0.0653)
OKLCHoklch(75.39% 0.069 70.1)
XYZxyz(42.7364, 42.3769, 26.0030)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA87F #7FA3CC
analogous
#CC817F #CCA87F #CACC7F
triadic
#CCA87F #7FCCA8 #A87FCC
tetradic
#CCA87F #7FCC81 #7FA3CC #CC7FCA
square
#CCA87F #7FCC81 #7FA3CC #CC7FCA
split-complementary
#CCA87F #7FCACC #817FCC
monochromatic
#956B3B #BB8A53 #CCA87F #DDC6AB #EFE3D7

Accessibility & contrast

On white

2.22
#CCA87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CCA87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA87F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA87F#FFFFFF#000000##000000
##CCA87F1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A97C
Deuteranopia (green-blind)
#BDB280
Tritanopia (blue-blind)
#D89F9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cca87f;
/* rgb */ color: rgb(204, 168, 127);
/* oklch */ color: oklch(75.4% 0.069 70.1);
Tailwind
colors: {
  custom: {
    50: '#ddc1a4',
    500: '#cca87f',
    950: '#000000',
  },
}
SCSS
$custom: #cca87f;
$custom-light: #ddc1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cca87f",
  "rgb": {
    "r": 204,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 31.948,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.75394,
    "c": 0.06948,
    "h": 70.1
  },
  "luminance": 0.42375
}

Semantic roles & 50–950 ramp

primary
#CCA87F
secondary
#C6D3E1
accent
#6EB62F
background
#FDFBFA
surface
#FBF7F4
border
#D4D0CE
text
#15120F
muted
#83817F

Preview Lab

Preview with #CCA87F

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

Preview Lab → · Contrast checker → · Palette generator →

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