#CCD946#CCD946

#CCD946 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 84.9% C 0.166 H 114.3°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#CCD946
RGBrgb(204, 217, 70)
HSLhsl(65, 66%, 56%)
HSVhsv(65, 68%, 85%)
CMYKcmyk(6%, 0%, 67.7%, 14.9%)
CIE-LABlab(83.39, -22.59, 67.48)
CIE-LCHlch(83.39, 71.17, 108.51°)
OKLaboklab(84.91% -0.0683 0.1512)
OKLCHoklch(84.91% 0.166 114.3)
XYZxyz(50.8215, 62.9062, 15.2581)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD946 #5346D9
analogous
#D99D46 #CCD946 #83D946
triadic
#CCD946 #46CCD9 #D946CC
tetradic
#CCD946 #46D99D #5346D9 #D94683
square
#CCD946 #46D99D #5346D9 #D94683
split-complementary
#CCD946 #4683D9 #9D46D9
monochromatic
#7F891C #AEBB26 #CCD946 #DAE379 #E8EEAC

Accessibility & contrast

On white

1.55
#CCD946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#CCD946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD946
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD946#FFFFFF#000000##000000
##CCD9461.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF2F
Deuteranopia (green-blind)
#E8D151
Tritanopia (blue-blind)
#D9CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd946;
/* rgb */ color: rgb(204, 217, 70);
/* oklch */ color: oklch(84.9% 0.166 114.3);
Tailwind
colors: {
  custom: {
    50: '#dfe482',
    500: '#ccd946',
    950: '#000000',
  },
}
SCSS
$custom: #ccd946;
$custom-light: #dfe482;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd946",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 70
  },
  "hsl": {
    "h": 65.306,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84907,
    "c": 0.16592,
    "h": 114.3
  },
  "luminance": 0.62905
}

Semantic roles & 50–950 ramp

primary
#CCD946
secondary
#3D358F
accent
#3FE94E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD946

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

Preview Lab → · Contrast checker → · Palette generator →

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