#CCA03D#CCA03D

#CCA03D is a light, vivid orange. Relative luminance 0.383; OKLCH L 72.9% C 0.125 H 84.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CCA03D
RGBrgb(204, 160, 61)
HSLhsl(42, 58%, 52%)
HSVhsv(42, 70%, 80%)
CMYKcmyk(0%, 21.6%, 70.1%, 20%)
CIE-LABlab(68.25, 6.20, 55.66)
CIE-LCHlch(68.25, 56.01, 83.65°)
OKLaboklab(72.86% 0.0125 0.1247)
OKLCHoklch(72.86% 0.125 84.3)
XYZxyz(38.3172, 38.3185, 9.7920)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA03D #3D69CC
analogous
#CC583D #CCA03D #B1CC3D
triadic
#CCA03D #3DCCA0 #A03DCC
tetradic
#CCA03D #3DCC58 #3D69CC #CC3DB1
square
#CCA03D #3DCC58 #3D69CC #CC3DB1
split-complementary
#CCA03D #3DB1CC #583DCC
monochromatic
#71571E #A17D2A #CCA03D #D9B86D #E5CF9E

Accessibility & contrast

On white

2.42
#CCA03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CCA03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA03D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA03D#FFFFFF#000000##000000
##CCA03D1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A030
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#DD928B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cca03d;
/* rgb */ color: rgb(204, 160, 61);
/* oklch */ color: oklch(72.9% 0.125 84.3);
Tailwind
colors: {
  custom: {
    50: '#e0bb78',
    500: '#cca03d',
    950: '#000000',
  },
}
SCSS
$custom: #cca03d;
$custom-light: #e0bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#cca03d",
  "rgb": {
    "r": 204,
    "g": 160,
    "b": 61
  },
  "hsl": {
    "h": 41.538,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.12534,
    "h": 84.3
  },
  "luminance": 0.38316
}

Semantic roles & 50–950 ramp

primary
#CCA03D
secondary
#93A6D2
accent
#76E246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CCA03D

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

Preview Lab → · Contrast checker → · Palette generator →

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