#CCA540#CCA540

#CCA540 is a light, vivid orange. Relative luminance 0.401; OKLCH L 73.9% C 0.126 H 87.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CCA540
RGBrgb(204, 165, 64)
HSLhsl(43, 58%, 53%)
HSVhsv(43, 69%, 80%)
CMYKcmyk(0%, 19.1%, 68.6%, 20%)
CIE-LABlab(69.56, 3.67, 55.72)
CIE-LCHlch(69.56, 55.84, 86.23°)
OKLaboklab(73.9% 0.0056 0.1254)
OKLCHoklch(73.9% 0.126 87.5)
XYZxyz(39.2846, 40.1203, 10.5243)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA540 #4067CC
analogous
#CC5F40 #CCA540 #ADCC40
triadic
#CCA540 #40CCA5 #A540CC
tetradic
#CCA540 #40CC5F #4067CC #CC40AD
square
#CCA540 #40CC5F #4067CC #CC40AD
split-complementary
#CCA540 #40ADCC #5F40CC
monochromatic
#735B1F #A3822C #CCA540 #D9BC70 #E6D3A1

Accessibility & contrast

On white

2.33
#CCA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#CCA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA540
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA540#FFFFFF#000000##000000
##CCA5401.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#DD9790
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cca540;
/* rgb */ color: rgb(204, 165, 64);
/* oklch */ color: oklch(73.9% 0.126 87.5);
Tailwind
colors: {
  custom: {
    50: '#dfbf7a',
    500: '#cca540',
    950: '#000000',
  },
}
SCSS
$custom: #cca540;
$custom-light: #dfbf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cca540",
  "rgb": {
    "r": 204,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 43.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73895,
    "c": 0.1255,
    "h": 87.5
  },
  "luminance": 0.40118
}

Semantic roles & 50–950 ramp

primary
#CCA540
secondary
#95A6D2
accent
#72E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA540

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

Preview Lab → · Contrast checker → · Palette generator →

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