#CCC24A#CCC24A

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

Color values

HEX#CCC24A
RGBrgb(204, 194, 74)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 4.9%, 63.7%, 20%)
CIE-LABlab(77.23, -10.92, 59.55)
CIE-LCHlch(77.23, 60.54, 100.39°)
OKLaboklab(80% -0.0351 0.1351)
OKLCHoklch(80% 0.14 104.6)
XYZxyz(45.4313, 51.9170, 14.1051)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC24A #4A54CC
analogous
#CC814A #CCC24A #95CC4A
triadic
#CCC24A #4ACCC2 #C24ACC
tetradic
#CCC24A #4ACC81 #4A54CC #CC4A95
square
#CCC24A #4ACC81 #4A54CC #CC4A95
split-complementary
#CCC24A #4A95CC #814ACC
monochromatic
#797322 #A9A030 #CCC24A #D9D27A #E7E2A9

Accessibility & contrast

On white

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

On black

11.38
#CCC24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC24A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC24A#FFFFFF#000000##000000
##CCC24A1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3B
Deuteranopia (green-blind)
#D6C151
Tritanopia (blue-blind)
#DAB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc24a;
/* rgb */ color: rgb(204, 194, 74);
/* oklch */ color: oklch(80.0% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd482',
    500: '#ccc24a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc24a;
$custom-light: #dfd482;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc24a",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 55.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79996,
    "c": 0.13956,
    "h": 104.6
  },
  "luminance": 0.51915
}

Semantic roles & 50–950 ramp

primary
#CCC24A
secondary
#393E82
accent
#54DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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