#CCC24B#CCC24B

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

Color values

HEX#CCC24B
RGBrgb(204, 194, 75)
HSLhsl(55, 56%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 4.9%, 63.2%, 20%)
CIE-LABlab(77.24, -10.86, 59.13)
CIE-LCHlch(77.24, 60.12, 100.40°)
OKLaboklab(80.01% -0.0348 0.1344)
OKLCHoklch(80.01% 0.139 104.5)
XYZxyz(45.4653, 51.9306, 14.2839)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC24B #4B55CC
analogous
#CC824B #CCC24B #95CC4B
triadic
#CCC24B #4BCCC2 #C24BCC
tetradic
#CCC24B #4BCC82 #4B55CC #CC4B95
square
#CCC24B #4BCC82 #4B55CC #CC4B95
split-complementary
#CCC24B #4B95CC #824BCC
monochromatic
#7A7323 #AAA030 #CCC24B #DAD27B #E7E2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC24B#FFFFFF#000000##000000
##CCC24B1.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)
#D2BC3C
Deuteranopia (green-blind)
#D6C152
Tritanopia (blue-blind)
#DAB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc24b;
/* rgb */ color: rgb(204, 194, 75);
/* oklch */ color: oklch(80.0% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd483',
    500: '#ccc24b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc24b;
$custom-light: #dfd483;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc24b",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 75
  },
  "hsl": {
    "h": 55.349,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80005,
    "c": 0.13879,
    "h": 104.5
  },
  "luminance": 0.51929
}

Semantic roles & 50–950 ramp

primary
#CCC24B
secondary
#393F82
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC24B

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

Preview Lab → · Contrast checker → · Palette generator →

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