#CCA240#CCA240

#CCA240 is a light, vivid orange. Relative luminance 0.390; OKLCH L 73.3% C 0.124 H 85.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CCA240
RGBrgb(204, 162, 64)
HSLhsl(42, 58%, 53%)
HSVhsv(42, 69%, 80%)
CMYKcmyk(0%, 20.6%, 68.6%, 20%)
CIE-LABlab(68.79, 5.28, 54.92)
CIE-LCHlch(68.79, 55.18, 84.50°)
OKLaboklab(73.29% 0.0102 0.1237)
OKLCHoklch(73.29% 0.124 85.3)
XYZxyz(38.7498, 39.0507, 10.3461)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA240 #406ACC
analogous
#CC5C40 #CCA240 #B0CC40
triadic
#CCA240 #40CCA2 #A240CC
tetradic
#CCA240 #40CC5C #406ACC #CC40B0
square
#CCA240 #40CC5C #406ACC #CC40B0
split-complementary
#CCA240 #40B0CC #5C40CC
monochromatic
#735A1F #A37F2C #CCA240 #D9BA70 #E6D1A1

Accessibility & contrast

On white

2.38
#CCA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CCA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA240
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA240#FFFFFF#000000##000000
##CCA2401.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#BFAC44
Tritanopia (blue-blind)
#DD948D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cca240;
/* rgb */ color: rgb(204, 162, 64);
/* oklch */ color: oklch(73.3% 0.124 85.3);
Tailwind
colors: {
  custom: {
    50: '#dfbd7a',
    500: '#cca240',
    950: '#000000',
  },
}
SCSS
$custom: #cca240;
$custom-light: #dfbd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cca240",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 42,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73291,
    "c": 0.1241,
    "h": 85.3
  },
  "luminance": 0.39048
}

Semantic roles & 50–950 ramp

primary
#CCA240
secondary
#95A8D2
accent
#75E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA240

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

Preview Lab → · Contrast checker → · Palette generator →

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