#CCA252#CCA252

#CCA252 is a light, moderate orange. Relative luminance 0.393; OKLCH L 73.5% C 0.110 H 81.7°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CCA252
RGBrgb(204, 162, 82)
HSLhsl(39, 54%, 56%)
HSVhsv(39, 60%, 80%)
CMYKcmyk(0%, 20.6%, 59.8%, 20%)
CIE-LABlab(68.96, 6.44, 46.77)
CIE-LCHlch(68.96, 47.21, 82.17°)
OKLaboklab(73.48% 0.0159 0.1089)
OKLCHoklch(73.48% 0.11 81.7)
XYZxyz(39.3472, 39.2897, 13.4922)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA252 #527CCC
analogous
#CC6552 #CCA252 #B9CC52
triadic
#CCA252 #52CCA2 #A252CC
tetradic
#CCA252 #52CC65 #527CCC #CC52B9
square
#CCA252 #52CC65 #527CCC #CC52B9
split-complementary
#CCA252 #52B9CC #6552CC
monochromatic
#7E6025 #AE8333 #CCA252 #DABB81 #E8D5B1

Accessibility & contrast

On white

2.37
#CCA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CCA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA252
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA252#FFFFFF#000000##000000
##CCA2521.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#BEAD55
Tritanopia (blue-blind)
#DC9590
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cca252;
/* rgb */ color: rgb(204, 162, 82);
/* oklch */ color: oklch(73.5% 0.110 81.7);
Tailwind
colors: {
  custom: {
    50: '#dfbd85',
    500: '#cca252',
    950: '#000000',
  },
}
SCSS
$custom: #cca252;
$custom-light: #dfbd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cca252",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 39.344,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.73482,
    "c": 0.11006,
    "h": 81.7
  },
  "luminance": 0.39287
}

Semantic roles & 50–950 ramp

primary
#CCA252
secondary
#A4B5D6
accent
#7DDE4A
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCA252

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

Preview Lab → · Contrast checker → · Palette generator →

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