#CCD256#CCD256

#CCD256 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.5% C 0.146 H 111.8°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CCD256
RGBrgb(204, 210, 86)
HSLhsl(63, 58%, 58%)
HSVhsv(63, 59%, 82%)
CMYKcmyk(2.9%, 0%, 59%, 17.6%)
CIE-LABlab(81.62, -18.16, 59.18)
CIE-LCHlch(81.62, 61.90, 107.06°)
OKLaboklab(83.53% -0.0543 0.136)
OKLCHoklch(83.53% 0.146 111.8)
XYZxyz(49.6294, 59.6035, 17.6925)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD256 #5C56D2
analogous
#D29A56 #CCD256 #8ED256
triadic
#CCD256 #56CCD2 #D256CC
tetradic
#CCD256 #56D29A #5C56D2 #D2568E
square
#CCD256 #56D29A #5C56D2 #D2568E
split-complementary
#CCD256 #568ED2 #9A56D2
monochromatic
#848925 #B3B931 #CCD256 #DBDF86 #E9ECB7

Accessibility & contrast

On white

1.63
#CCD256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#CCD256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD256
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD256#FFFFFF#000000##000000
##CCD2561.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C948
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#D9C6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd256;
/* rgb */ color: rgb(204, 210, 86);
/* oklch */ color: oklch(83.5% 0.146 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf8a',
    500: '#ccd256',
    950: '#000000',
  },
}
SCSS
$custom: #ccd256;
$custom-light: #dedf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd256",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 62.903,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8353,
    "c": 0.14639,
    "h": 111.8
  },
  "luminance": 0.59602
}

Semantic roles & 50–950 ramp

primary
#CCD256
secondary
#413D90
accent
#47E14E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD256

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

Preview Lab → · Contrast checker → · Palette generator →

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