#CCA040#CCA040

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

Color values

HEX#CCA040
RGBrgb(204, 160, 64)
HSLhsl(41, 58%, 53%)
HSVhsv(41, 69%, 80%)
CMYKcmyk(0%, 21.6%, 68.6%, 20%)
CIE-LABlab(68.28, 6.36, 54.39)
CIE-LCHlch(68.28, 54.76, 83.33°)
OKLaboklab(72.89% 0.0133 0.1226)
OKLCHoklch(72.89% 0.123 83.8)
XYZxyz(38.4003, 38.3517, 10.2296)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA040 #406CCC
analogous
#CC5A40 #CCA040 #B2CC40
triadic
#CCA040 #40CCA0 #A040CC
tetradic
#CCA040 #40CC5A #406CCC #CC40B2
square
#CCA040 #40CC5A #406CCC #CC40B2
split-complementary
#CCA040 #40B2CC #5A40CC
monochromatic
#73581F #A37E2C #CCA040 #D9B870 #E6D0A1

Accessibility & contrast

On white

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

On black

8.67
#CCA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA040
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA040#FFFFFF#000000##000000
##CCA0401.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#DD928C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cca040;
/* rgb */ color: rgb(204, 160, 64);
/* oklch */ color: oklch(72.9% 0.123 83.8);
Tailwind
colors: {
  custom: {
    50: '#e0bb7a',
    500: '#cca040',
    950: '#000000',
  },
}
SCSS
$custom: #cca040;
$custom-light: #e0bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cca040",
  "rgb": {
    "r": 204,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 41.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72891,
    "c": 0.12327,
    "h": 83.8
  },
  "luminance": 0.38349
}

Semantic roles & 50–950 ramp

primary
#CCA040
secondary
#95A9D2
accent
#77E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CCA040

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

Preview Lab → · Contrast checker → · Palette generator →

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