#CCD255#CCD255

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

Color values

HEX#CCD255
RGBrgb(204, 210, 85)
HSLhsl(63, 58%, 58%)
HSVhsv(63, 60%, 82%)
CMYKcmyk(2.9%, 0%, 59.5%, 17.6%)
CIE-LABlab(81.61, -18.23, 59.60)
CIE-LCHlch(81.61, 62.32, 107.01°)
OKLaboklab(83.52% -0.0546 0.1367)
OKLCHoklch(83.52% 0.147 111.8)
XYZxyz(49.5894, 59.5875, 17.4818)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD255 #5B55D2
analogous
#D29955 #CCD255 #8DD255
triadic
#CCD255 #55CCD2 #D255CC
tetradic
#CCD255 #55D299 #5B55D2 #D2558D
square
#CCD255 #55D299 #5B55D2 #D2558D
split-complementary
#CCD255 #558DD2 #9955D2
monochromatic
#848824 #B2B931 #CCD255 #DBDF85 #E9ECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD255#FFFFFF#000000##000000
##CCD2551.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)
#E1C947
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#D9C6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd255;
/* rgb */ color: rgb(204, 210, 85);
/* oklch */ color: oklch(83.5% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf8a',
    500: '#ccd255',
    950: '#000000',
  },
}
SCSS
$custom: #ccd255;
$custom-light: #dedf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd255",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 62.88,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8352,
    "c": 0.14721,
    "h": 111.8
  },
  "luminance": 0.59586
}

Semantic roles & 50–950 ramp

primary
#CCD255
secondary
#403C8F
accent
#46E14E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD255

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

Preview Lab → · Contrast checker → · Palette generator →

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