#CCCA49#CCCA49

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

Color values

HEX#CCCA49
RGBrgb(204, 202, 73)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1%, 64.2%, 20%)
CIE-LABlab(79.36, -15.03, 62.20)
CIE-LCHlch(79.36, 63.99, 103.58°)
OKLaboklab(81.69% -0.0468 0.1405)
OKLCHoklch(81.69% 0.148 108.4)
XYZxyz(47.2265, 55.5609, 14.5386)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA49 #494BCC
analogous
#CC8949 #CCCA49 #8DCC49
triadic
#CCCA49 #49CCCA #CA49CC
tetradic
#CCCA49 #49CC89 #494BCC #CC498D
square
#CCCA49 #49CC89 #494BCC #CC498D
split-complementary
#CCCA49 #498DCC #8949CC
monochromatic
#797722 #A9A72F #CCCA49 #D9D879 #E7E6A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA49#FFFFFF#000000##000000
##CCCA491.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)
#DAC238
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca49;
/* rgb */ color: rgb(204, 202, 73);
/* oklch */ color: oklch(81.7% 0.148 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfd982',
    500: '#ccca49',
    950: '#000000',
  },
}
SCSS
$custom: #ccca49;
$custom-light: #dfd982;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca49",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 73
  },
  "hsl": {
    "h": 59.084,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81692,
    "c": 0.14811,
    "h": 108.4
  },
  "luminance": 0.55559
}

Semantic roles & 50–950 ramp

primary
#CCCA49
secondary
#383981
accent
#4BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA49

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

Preview Lab → · Contrast checker → · Palette generator →

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