#CCA04F#CCA04F

#CCA04F is a light, moderate orange. Relative luminance 0.385; OKLCH L 73.0% C 0.112 H 80.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CCA04F
RGBrgb(204, 160, 79)
HSLhsl(39, 55%, 55%)
HSVhsv(39, 61%, 80%)
CMYKcmyk(0%, 21.6%, 61.3%, 20%)
CIE-LABlab(68.42, 7.30, 47.61)
CIE-LCHlch(68.42, 48.17, 81.28°)
OKLaboklab(73.05% 0.018 0.1103)
OKLCHoklch(73.05% 0.112 80.7)
XYZxyz(38.8860, 38.5460, 12.7876)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA04F #4F7BCC
analogous
#CC614F #CCA04F #B9CC4F
triadic
#CCA04F #4FCCA0 #A04FCC
tetradic
#CCA04F #4FCC61 #4F7BCC #CC4FB9
square
#CCA04F #4FCC61 #4F7BCC #CC4FB9
split-complementary
#CCA04F #4FB9CC #614FCC
monochromatic
#7D5D24 #AC8132 #CCA04F #DABA7E #E7D3AE

Accessibility & contrast

On white

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

On black

8.71
#CCA04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA04F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA04F#FFFFFF#000000##000000
##CCA04F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A047
Deuteranopia (green-blind)
#BDAB52
Tritanopia (blue-blind)
#DC938E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cca04f;
/* rgb */ color: rgb(204, 160, 79);
/* oklch */ color: oklch(73.0% 0.112 80.7);
Tailwind
colors: {
  custom: {
    50: '#dfbb83',
    500: '#cca04f',
    950: '#000000',
  },
}
SCSS
$custom: #cca04f;
$custom-light: #dfbb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cca04f",
  "rgb": {
    "r": 204,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 38.88,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.73048,
    "c": 0.1118,
    "h": 80.7
  },
  "luminance": 0.38543
}

Semantic roles & 50–950 ramp

primary
#CCA04F
secondary
#A1B4D5
accent
#7EDE49
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16110B
muted
#84807C

Preview Lab

Preview with #CCA04F

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

Preview Lab → · Contrast checker → · Palette generator →

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