#CCA42D#CCA42D

#CCA42D is a light, vivid orange. Relative luminance 0.396; OKLCH L 73.6% C 0.137 H 89.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CCA42D
RGBrgb(204, 164, 45)
HSLhsl(45, 64%, 49%)
HSVhsv(45, 78%, 80%)
CMYKcmyk(0%, 19.6%, 77.9%, 20%)
CIE-LABlab(69.17, 3.33, 62.78)
CIE-LCHlch(69.17, 62.87, 86.96°)
OKLaboklab(73.55% 0.0024 0.1367)
OKLCHoklch(73.55% 0.137 89)
XYZxyz(38.6533, 39.5803, 8.0860)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA42D #2D55CC
analogous
#CC552D #CCA42D #A5CC2D
triadic
#CCA42D #2DCCA4 #A42DCC
tetradic
#CCA42D #2DCC55 #2D55CC #CC2DA5
square
#CCA42D #2DCC55 #2D55CC #CC2DA5
split-complementary
#CCA42D #2DA5CC #552DCC
monochromatic
#685317 #9A7C22 #CCA42D #DBBB5B #E6D08D

Accessibility & contrast

On white

2.36
#CCA42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CCA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA42D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA42D#FFFFFF#000000##000000
##CCA42D1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A215
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#DD958D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cca42d;
/* rgb */ color: rgb(204, 164, 45);
/* oklch */ color: oklch(73.6% 0.137 89.0);
Tailwind
colors: {
  custom: {
    50: '#e0be70',
    500: '#cca42d',
    950: '#000000',
  },
}
SCSS
$custom: #cca42d;
$custom-light: #e0be70;
$custom-dark: #000000;
JSON
{
  "hex": "#cca42d",
  "rgb": {
    "r": 204,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 44.906,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7355,
    "c": 0.13672,
    "h": 89
  },
  "luminance": 0.39578
}

Semantic roles & 50–950 ramp

primary
#CCA42D
secondary
#8598D0
accent
#6BE741
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CCA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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