#CCCD40#CCCD40

#CCCD40 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.157 H 109.8°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CCCD40
RGBrgb(204, 205, 64)
HSLhsl(60, 59%, 53%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0.5%, 0%, 68.8%, 19.6%)
CIE-LABlab(80.11, -17.02, 66.43)
CIE-LCHlch(80.11, 68.57, 104.38°)
OKLaboklab(82.27% -0.0533 0.148)
OKLCHoklch(82.27% 0.157 109.8)
XYZxyz(47.6602, 56.8715, 13.3162)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD40 #4140CD
analogous
#CD8840 #CCCD40 #85CD40
triadic
#CCCD40 #40CCCD #CD40CC
tetradic
#CCCD40 #40CD88 #4140CD #CD4085
square
#CCCD40 #40CD88 #4140CD #CD4085
split-complementary
#CCCD40 #4085CD #8840CD
monochromatic
#74741E #A4A52B #CCCD40 #D9DA71 #E6E6A1

Accessibility & contrast

On white

1.70
#CCCD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CCCD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD40
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD40#FFFFFF#000000##000000
##CCCD401.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#DFC94A
Tritanopia (blue-blind)
#DAC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd40;
/* rgb */ color: rgb(204, 205, 64);
/* oklch */ color: oklch(82.3% 0.157 109.8);
Tailwind
colors: {
  custom: {
    50: '#dfdc7d',
    500: '#cccd40',
    950: '#000000',
  },
}
SCSS
$custom: #cccd40;
$custom-light: #dfdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd40",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 60.426,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82266,
    "c": 0.15731,
    "h": 109.8
  },
  "luminance": 0.5687
}

Semantic roles & 50–950 ramp

primary
#CCCD40
secondary
#35347D
accent
#46E247
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCCD40

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

Preview Lab → · Contrast checker → · Palette generator →

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