#CCA12D#CCA12D

#CCA12D is a light, vivid orange. Relative luminance 0.385; OKLCH L 72.9% C 0.135 H 87.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CCA12D
RGBrgb(204, 161, 45)
HSLhsl(44, 64%, 49%)
HSVhsv(44, 78%, 80%)
CMYKcmyk(0%, 21.1%, 77.9%, 20%)
CIE-LABlab(68.40, 4.94, 62.07)
CIE-LCHlch(68.40, 62.27, 85.45°)
OKLaboklab(72.95% 0.007 0.1352)
OKLCHoklch(72.95% 0.135 87)
XYZxyz(38.1228, 38.5192, 7.9092)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA12D #2D58CC
analogous
#CC522D #CCA12D #A8CC2D
triadic
#CCA12D #2DCCA1 #A12DCC
tetradic
#CCA12D #2DCC52 #2D58CC #CC2DA8
square
#CCA12D #2DCC52 #2D58CC #CC2DA8
split-complementary
#CCA12D #2DA8CC #522DCC
monochromatic
#685217 #9A7922 #CCA12D #DBB85B #E6CE8D

Accessibility & contrast

On white

2.41
#CCA12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CCA12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA12D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA12D#FFFFFF#000000##000000
##CCA12D1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A016
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#DD928B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cca12d;
/* rgb */ color: rgb(204, 161, 45);
/* oklch */ color: oklch(72.9% 0.135 87.0);
Tailwind
colors: {
  custom: {
    50: '#e0bc6f',
    500: '#cca12d',
    950: '#000000',
  },
}
SCSS
$custom: #cca12d;
$custom-light: #e0bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cca12d",
  "rgb": {
    "r": 204,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 43.774,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72945,
    "c": 0.13536,
    "h": 87
  },
  "luminance": 0.38517
}

Semantic roles & 50–950 ramp

primary
#CCA12D
secondary
#8599D0
accent
#6EE741
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #CCA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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