#CCD956#CCD956

#CCD956 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.0% C 0.154 H 114.5°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CCD956
RGBrgb(204, 217, 86)
HSLhsl(66, 63%, 59%)
HSVhsv(66, 60%, 85%)
CMYKcmyk(6%, 0%, 60.4%, 14.9%)
CIE-LABlab(83.51, -21.59, 61.24)
CIE-LCHlch(83.51, 64.94, 109.42°)
OKLaboklab(85.04% -0.0639 0.1403)
OKLCHoklch(85.04% 0.154 114.5)
XYZxyz(51.3956, 63.1358, 18.2813)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD956 #6356D9
analogous
#D9A556 #CCD956 #8BD956
triadic
#CCD956 #56CCD9 #D956CC
tetradic
#CCD956 #56D9A5 #6356D9 #D9568B
square
#CCD956 #56D9A5 #6356D9 #D9568B
split-complementary
#CCD956 #568BD9 #A556D9
monochromatic
#889321 #B6C52C #CCD956 #DBE488 #EAEFBA

Accessibility & contrast

On white

1.54
#CCD956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#CCD956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD956
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD956#FFFFFF#000000##000000
##CCD9561.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF47
Deuteranopia (green-blind)
#E7D15E
Tritanopia (blue-blind)
#D8CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd956;
/* rgb */ color: rgb(204, 217, 86);
/* oklch */ color: oklch(85.0% 0.154 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee48b',
    500: '#ccd956',
    950: '#000000',
  },
}
SCSS
$custom: #ccd956;
$custom-light: #dee48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd956",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 65.954,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85043,
    "c": 0.15422,
    "h": 114.5
  },
  "luminance": 0.63135
}

Semantic roles & 50–950 ramp

primary
#CCD956
secondary
#443B98
accent
#41E652
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD956

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

Preview Lab → · Contrast checker → · Palette generator →

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