#CCC949#CCC949

#CCC949 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.147 H 108.0°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CCC949
RGBrgb(204, 201, 73)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1.5%, 64.2%, 20%)
CIE-LABlab(79.09, -14.52, 61.92)
CIE-LCHlch(79.09, 63.60, 103.20°)
OKLaboklab(81.48% -0.0454 0.1399)
OKLCHoklch(81.48% 0.147 108)
XYZxyz(46.9927, 55.0931, 14.4607)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC949 #494CCC
analogous
#CC8849 #CCC949 #8ECC49
triadic
#CCC949 #49CCC9 #C949CC
tetradic
#CCC949 #49CC88 #494CCC #CC498E
square
#CCC949 #49CC88 #494CCC #CC498E
split-complementary
#CCC949 #498ECC #8849CC
monochromatic
#797722 #A9A62F #CCC949 #D9D779 #E7E5A9

Accessibility & contrast

On white

1.75
#CCC949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CCC949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC949
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC949#FFFFFF#000000##000000
##CCC9491.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C138
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc949;
/* rgb */ color: rgb(204, 201, 73);
/* oklch */ color: oklch(81.5% 0.147 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfd982',
    500: '#ccc949',
    950: '#000000',
  },
}
SCSS
$custom: #ccc949;
$custom-light: #dfd982;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc949",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 58.626,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81478,
    "c": 0.1471,
    "h": 108
  },
  "luminance": 0.55092
}

Semantic roles & 50–950 ramp

primary
#CCC949
secondary
#383A81
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC949

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

Preview Lab → · Contrast checker → · Palette generator →

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