#CCD541#CCD541

#CCD541 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.0% C 0.165 H 112.9°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CCD541
RGBrgb(204, 213, 65)
HSLhsl(64, 64%, 55%)
HSVhsv(64, 69%, 84%)
CMYKcmyk(4.2%, 0%, 69.5%, 16.5%)
CIE-LABlab(82.28, -20.91, 68.20)
CIE-LCHlch(82.28, 71.34, 107.05°)
OKLaboklab(84% -0.0641 0.1519)
OKLCHoklch(84% 0.165 112.9)
XYZxyz(49.6517, 60.8086, 14.1217)
Luminance0.6081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD541 #4A41D5
analogous
#D59441 #CCD541 #82D541
triadic
#CCD541 #41CCD5 #D541CC
tetradic
#CCD541 #41D594 #4A41D5 #D54182
square
#CCD541 #41D594 #4A41D5 #D54182
split-complementary
#CCD541 #4182D5 #9441D5
monochromatic
#797F1C #A9B227 #CCD541 #D9E073 #E7EBA5

Accessibility & contrast

On white

1.60
#CCD541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#CCD541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD541
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD541#FFFFFF#000000##000000
##CCD5411.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB28
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#DAC8B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd541;
/* rgb */ color: rgb(204, 213, 65);
/* oklch */ color: oklch(84.0% 0.165 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe17f',
    500: '#ccd541',
    950: '#000000',
  },
}
SCSS
$custom: #ccd541;
$custom-light: #dfe17f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd541",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 63.649,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84002,
    "c": 0.16488,
    "h": 112.9
  },
  "luminance": 0.60808
}

Semantic roles & 50–950 ramp

primary
#CCD541
secondary
#393487
accent
#41E74B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD541

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

Preview Lab → · Contrast checker → · Palette generator →

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