#CCCA48#CCCA48

#CCCA48 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.149 H 108.4°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CCCA48
RGBrgb(204, 202, 72)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 65%, 80%)
CMYKcmyk(0%, 1%, 64.7%, 20%)
CIE-LABlab(79.36, -15.09, 62.59)
CIE-LCHlch(79.36, 64.38, 103.55°)
OKLaboklab(81.68% -0.0471 0.1412)
OKLCHoklch(81.68% 0.149 108.4)
XYZxyz(47.1937, 55.5477, 14.3654)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA48 #484ACC
analogous
#CC8848 #CCCA48 #8CCC48
triadic
#CCCA48 #48CCCA #CA48CC
tetradic
#CCCA48 #48CC88 #484ACC #CC488C
square
#CCCA48 #48CC88 #484ACC #CC488C
split-complementary
#CCCA48 #488CCC #8848CC
monochromatic
#787721 #A8A62F #CCCA48 #D9D878 #E7E6A8

Accessibility & contrast

On white

1.73
#CCCA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CCCA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA48
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA48#FFFFFF#000000##000000
##CCCA481.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#DABEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca48;
/* rgb */ color: rgb(204, 202, 72);
/* oklch */ color: oklch(81.7% 0.149 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfd982',
    500: '#ccca48',
    950: '#000000',
  },
}
SCSS
$custom: #ccca48;
$custom-light: #dfd982;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca48",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 59.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81684,
    "c": 0.14884,
    "h": 108.4
  },
  "luminance": 0.55546
}

Semantic roles & 50–950 ramp

primary
#CCCA48
secondary
#383980
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA48

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

Preview Lab → · Contrast checker → · Palette generator →

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