#CCC24C#CCC24C

#CCC24C is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.138 H 104.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CCC24C
RGBrgb(204, 194, 76)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 4.9%, 62.7%, 20%)
CIE-LABlab(77.25, -10.79, 58.72)
CIE-LCHlch(77.25, 59.70, 100.42°)
OKLaboklab(80.01% -0.0345 0.1336)
OKLCHoklch(80.01% 0.138 104.5)
XYZxyz(45.4998, 51.9444, 14.4656)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC24C #4C56CC
analogous
#CC824C #CCC24C #96CC4C
triadic
#CCC24C #4CCCC2 #C24CCC
tetradic
#CCC24C #4CCC82 #4C56CC #CC4C96
square
#CCC24C #4CCC82 #4C56CC #CC4C96
split-complementary
#CCC24C #4C96CC #824CCC
monochromatic
#7B7423 #AAA131 #CCC24C #DAD27C #E7E2AB

Accessibility & contrast

On white

1.84
#CCC24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CCC24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC24C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC24C#FFFFFF#000000##000000
##CCC24C1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3E
Deuteranopia (green-blind)
#D6C153
Tritanopia (blue-blind)
#DAB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc24c;
/* rgb */ color: rgb(204, 194, 76);
/* oklch */ color: oklch(80.0% 0.138 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd483',
    500: '#ccc24c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc24c;
$custom-light: #dfd483;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc24c",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 55.313,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80014,
    "c": 0.138,
    "h": 104.5
  },
  "luminance": 0.51943
}

Semantic roles & 50–950 ramp

primary
#CCC24C
secondary
#393F83
accent
#55DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC24C

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

Preview Lab → · Contrast checker → · Palette generator →

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