#CCAB5C#CCAB5C

#CCAB5C is a light, moderate orange. Relative luminance 0.427; OKLCH L 75.4% C 0.106 H 87.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CCAB5C
RGBrgb(204, 171, 92)
HSLhsl(42, 52%, 58%)
HSVhsv(42, 55%, 80%)
CMYKcmyk(0%, 16.2%, 54.9%, 20%)
CIE-LABlab(71.38, 2.39, 44.69)
CIE-LCHlch(71.38, 44.75, 86.94°)
OKLaboklab(75.42% 0.0053 0.1055)
OKLCHoklch(75.42% 0.106 87.1)
XYZxyz(41.3983, 42.7381, 16.1919)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB5C #5C7DCC
analogous
#CC735C #CCAB5C #B5CC5C
triadic
#CCAB5C #5CCCAB #AB5CCC
tetradic
#CCAB5C #5CCC73 #5C7DCC #CC5CB5
square
#CCAB5C #5CCC73 #5C7DCC #CC5CB5
split-complementary
#CCAB5C #5CB5CC #735CCC
monochromatic
#846929 #B38F38 #CCAB5C #DBC38B #E9DBB9

Accessibility & contrast

On white

2.20
#CCAB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CCAB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAB5C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAB5C#FFFFFF#000000##000000
##CCAB5C1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA55
Deuteranopia (green-blind)
#C3B35F
Tritanopia (blue-blind)
#DB9F99
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccab5c;
/* rgb */ color: rgb(204, 171, 92);
/* oklch */ color: oklch(75.4% 0.106 87.1);
Tailwind
colors: {
  custom: {
    50: '#dec38c',
    500: '#ccab5c',
    950: '#000000',
  },
}
SCSS
$custom: #ccab5c;
$custom-light: #dec38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab5c",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 92
  },
  "hsl": {
    "h": 42.321,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.75419,
    "c": 0.10559,
    "h": 87.1
  },
  "luminance": 0.42736
}

Semantic roles & 50–950 ramp

primary
#CCAB5C
secondary
#ACB9D8
accent
#76DC4C
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120C
muted
#83817D

Preview Lab

Preview with #CCAB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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