#CCD442#CCD442

#CCD442 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.8% C 0.163 H 112.5°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#CCD442
RGBrgb(204, 212, 66)
HSLhsl(63, 63%, 55%)
HSVhsv(63, 69%, 83%)
CMYKcmyk(3.8%, 0%, 68.9%, 16.9%)
CIE-LABlab(82.01, -20.37, 67.58)
CIE-LCHlch(82.01, 70.58, 106.78°)
OKLaboklab(83.79% -0.0625 0.1508)
OKLCHoklch(83.79% 0.163 112.5)
XYZxyz(49.4302, 60.3188, 14.1920)
Luminance0.6032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD442 #4A42D4
analogous
#D49342 #CCD442 #83D442
triadic
#CCD442 #42CCD4 #D442CC
tetradic
#CCD442 #42D493 #4A42D4 #D44283
square
#CCD442 #42D493 #4A42D4 #D44283
split-complementary
#CCD442 #4283D4 #9342D4
monochromatic
#797F1D #A9B128 #CCD442 #D9DF74 #E7EBA6

Accessibility & contrast

On white

1.61
#CCD442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#CCD442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD442
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD442#FFFFFF#000000##000000
##CCD4421.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA2A
Deuteranopia (green-blind)
#E4CE4D
Tritanopia (blue-blind)
#DAC7B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd442;
/* rgb */ color: rgb(204, 212, 66);
/* oklch */ color: oklch(83.8% 0.163 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe17f',
    500: '#ccd442',
    950: '#000000',
  },
}
SCSS
$custom: #ccd442;
$custom-light: #dfe17f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd442",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 63.288,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83792,
    "c": 0.1632,
    "h": 112.5
  },
  "luminance": 0.60318
}

Semantic roles & 50–950 ramp

primary
#CCD442
secondary
#393486
accent
#42E64B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD442

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

Preview Lab → · Contrast checker → · Palette generator →

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