#CCAB52#CCAB52

#CCAB52 is a light, moderate orange. Relative luminance 0.426; OKLCH L 75.3% C 0.115 H 89.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CCAB52
RGBrgb(204, 171, 82)
HSLhsl(44, 54%, 56%)
HSVhsv(44, 60%, 80%)
CMYKcmyk(0%, 16.2%, 59.8%, 20%)
CIE-LABlab(71.27, 1.62, 49.42)
CIE-LCHlch(71.27, 49.44, 88.13°)
OKLaboklab(75.3% 0.0019 0.1146)
OKLCHoklch(75.3% 0.115 89.1)
XYZxyz(40.9896, 42.5746, 14.0397)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB52 #5273CC
analogous
#CC6E52 #CCAB52 #B0CC52
triadic
#CCAB52 #52CCAB #AB52CC
tetradic
#CCAB52 #52CC6E #5273CC #CC52B0
square
#CCAB52 #52CC6E #5273CC #CC52B0
split-complementary
#CCAB52 #52B0CC #6E52CC
monochromatic
#7E6625 #AE8C33 #CCAB52 #DAC281 #E8D9B1

Accessibility & contrast

On white

2.21
#CCAB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CCAB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAB52
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAB52#FFFFFF#000000##000000
##CCAB521.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#DB9E97
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ccab52;
/* rgb */ color: rgb(204, 171, 82);
/* oklch */ color: oklch(75.3% 0.115 89.1);
Tailwind
colors: {
  custom: {
    50: '#dec385',
    500: '#ccab52',
    950: '#000000',
  },
}
SCSS
$custom: #ccab52;
$custom-light: #dec385;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab52",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 43.77,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75295,
    "c": 0.11461,
    "h": 89.1
  },
  "luminance": 0.42572
}

Semantic roles & 50–950 ramp

primary
#CCAB52
secondary
#A4B1D6
accent
#72DE4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAB52

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

Preview Lab → · Contrast checker → · Palette generator →

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