#CCAC48#CCAC48

#CCAC48 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.123 H 91.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CCAC48
RGBrgb(204, 172, 72)
HSLhsl(45, 56%, 54%)
HSVhsv(45, 65%, 80%)
CMYKcmyk(0%, 15.7%, 64.7%, 20%)
CIE-LABlab(71.43, 0.41, 54.21)
CIE-LCHlch(71.43, 54.21, 89.56°)
OKLaboklab(75.39% -0.0029 0.1235)
OKLCHoklch(75.39% 0.123 91.3)
XYZxyz(40.8261, 42.8126, 12.2429)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC48 #4868CC
analogous
#CC6A48 #CCAC48 #AACC48
triadic
#CCAC48 #48CCAC #AC48CC
tetradic
#CCAC48 #48CC6A #4868CC #CC48AA
square
#CCAC48 #48CC6A #4868CC #CC48AA
split-complementary
#CCAC48 #48AACC #6A48CC
monochromatic
#786321 #A88B2F #CCAC48 #D9C278 #E7D7A8

Accessibility & contrast

On white

2.20
#CCAC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CCAC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC48
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC48#FFFFFF#000000##000000
##CCAC481.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3D
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#DC9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac48;
/* rgb */ color: rgb(204, 172, 72);
/* oklch */ color: oklch(75.4% 0.123 91.3);
Tailwind
colors: {
  custom: {
    50: '#dfc47f',
    500: '#ccac48',
    950: '#000000',
  },
}
SCSS
$custom: #ccac48;
$custom-light: #dfc47f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac48",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 45.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75392,
    "c": 0.12349,
    "h": 91.3
  },
  "luminance": 0.4281
}

Semantic roles & 50–950 ramp

primary
#CCAC48
secondary
#9CA9D4
accent
#6DE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAC48

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

Preview Lab → · Contrast checker → · Palette generator →

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