#CCC049#CCC049

#CCC049 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.138 H 103.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CCC049
RGBrgb(204, 192, 73)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 5.9%, 64.2%, 20%)
CIE-LABlab(76.69, -9.96, 59.39)
CIE-LCHlch(76.69, 60.22, 99.52°)
OKLaboklab(79.56% -0.0324 0.1346)
OKLCHoklch(79.56% 0.138 103.6)
XYZxyz(44.9558, 51.0194, 13.7817)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC049 #4955CC
analogous
#CC7F49 #CCC049 #97CC49
triadic
#CCC049 #49CCC0 #C049CC
tetradic
#CCC049 #49CC7F #4955CC #CC4997
square
#CCC049 #49CC7F #4955CC #CC4997
split-complementary
#CCC049 #4997CC #7F49CC
monochromatic
#797122 #A99D2F #CCC049 #D9D179 #E7E1A9

Accessibility & contrast

On white

1.87
#CCC049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CCC049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC049
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC049#FFFFFF#000000##000000
##CCC0491.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3A
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#DBB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc049;
/* rgb */ color: rgb(204, 192, 73);
/* oklch */ color: oklch(79.6% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd281',
    500: '#ccc049',
    950: '#000000',
  },
}
SCSS
$custom: #ccc049;
$custom-light: #dfd281;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc049",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 54.504,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79564,
    "c": 0.13845,
    "h": 103.6
  },
  "luminance": 0.51018
}

Semantic roles & 50–950 ramp

primary
#CCC049
secondary
#383F81
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC049

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

Preview Lab → · Contrast checker → · Palette generator →

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