#CCA031#CCA031

#CCA031 is a light, vivid orange. Relative luminance 0.382; OKLCH L 72.8% C 0.133 H 85.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CCA031
RGBrgb(204, 160, 49)
HSLhsl(43, 61%, 50%)
HSVhsv(43, 76%, 80%)
CMYKcmyk(0%, 21.6%, 76%, 20%)
CIE-LABlab(68.17, 5.63, 60.40)
CIE-LCHlch(68.17, 60.66, 84.67°)
OKLaboklab(72.77% 0.0094 0.1325)
OKLCHoklch(72.77% 0.133 85.9)
XYZxyz(38.0294, 38.2034, 8.2761)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA031 #315DCC
analogous
#CC5331 #CCA031 #ABCC31
triadic
#CCA031 #31CCA0 #A031CC
tetradic
#CCA031 #31CC53 #315DCC #CC31AB
square
#CCA031 #31CC53 #315DCC #CC31AB
split-complementary
#CCA031 #31ABCC #5331CC
monochromatic
#695319 #9B7925 #CCA031 #D9B761 #E5CE92

Accessibility & contrast

On white

2.43
#CCA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CCA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA031
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA031#FFFFFF#000000##000000
##CCA0311.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1E
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#DD918A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cca031;
/* rgb */ color: rgb(204, 160, 49);
/* oklch */ color: oklch(72.8% 0.133 85.9);
Tailwind
colors: {
  custom: {
    50: '#e0bb71',
    500: '#cca031',
    950: '#000000',
  },
}
SCSS
$custom: #cca031;
$custom-light: #e0bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#cca031",
  "rgb": {
    "r": 204,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 42.968,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.13279,
    "h": 85.9
  },
  "luminance": 0.38201
}

Semantic roles & 50–950 ramp

primary
#CCA031
secondary
#899DD0
accent
#71E443
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #CCA031

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

Preview Lab → · Contrast checker → · Palette generator →

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