#CCAB5D#CCAB5D

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

Color values

HEX#CCAB5D
RGBrgb(204, 171, 93)
HSLhsl(42, 52%, 58%)
HSVhsv(42, 54%, 80%)
CMYKcmyk(0%, 16.2%, 54.4%, 20%)
CIE-LABlab(71.39, 2.47, 44.21)
CIE-LCHlch(71.39, 44.28, 86.80°)
OKLaboklab(75.43% 0.0057 0.1045)
OKLCHoklch(75.43% 0.105 86.9)
XYZxyz(41.4423, 42.7557, 16.4236)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB5D #5D7ECC
analogous
#CC735D #CCAB5D #B5CC5D
triadic
#CCAB5D #5DCCAB #AB5DCC
tetradic
#CCAB5D #5DCC73 #5D7ECC #CC5DB5
square
#CCAB5D #5DCC73 #5D7ECC #CC5DB5
split-complementary
#CCAB5D #5DB5CC #735DCC
monochromatic
#856A2A #B38F38 #CCAB5D #DBC38C #E9DBBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAB5D#FFFFFF#000000##000000
##CCAB5D1.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)
#BBAA56
Deuteranopia (green-blind)
#C3B360
Tritanopia (blue-blind)
#DB9F99
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccab5d;
/* rgb */ color: rgb(204, 171, 93);
/* oklch */ color: oklch(75.4% 0.105 86.9);
Tailwind
colors: {
  custom: {
    50: '#dec38d',
    500: '#ccab5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccab5d;
$custom-light: #dec38d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab5d",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 93
  },
  "hsl": {
    "h": 42.162,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.10465,
    "h": 86.9
  },
  "luminance": 0.42754
}

Semantic roles & 50–950 ramp

primary
#CCAB5D
secondary
#ACB9D9
accent
#77DC4C
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120C
muted
#83817D

Preview Lab

Preview with #CCAB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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