#CCD155#CCD155

#CCD155 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.3% C 0.146 H 111.3°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CCD155
RGBrgb(204, 209, 85)
HSLhsl(62, 57%, 58%)
HSVhsv(62, 59%, 82%)
CMYKcmyk(2.4%, 0%, 59.3%, 18%)
CIE-LABlab(81.34, -17.73, 59.30)
CIE-LCHlch(81.34, 61.90, 106.65°)
OKLaboklab(83.31% -0.0532 0.1361)
OKLCHoklch(83.31% 0.146 111.3)
XYZxyz(49.3433, 59.0953, 17.3998)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD155 #5A55D1
analogous
#D19855 #CCD155 #8ED155
triadic
#CCD155 #55CCD1 #D155CC
tetradic
#CCD155 #55D198 #5A55D1 #D1558E
square
#CCD155 #55D198 #5A55D1 #D1558E
split-complementary
#CCD155 #558ED1 #9855D1
monochromatic
#838725 #B2B732 #CCD155 #DADE85 #E9EBB5

Accessibility & contrast

On white

1.64
#CCD155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CCD155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD155
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD155#FFFFFF#000000##000000
##CCD1551.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C847
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#D9C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd155;
/* rgb */ color: rgb(204, 209, 85);
/* oklch */ color: oklch(83.3% 0.146 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede8a',
    500: '#ccd155',
    950: '#000000',
  },
}
SCSS
$custom: #ccd155;
$custom-light: #dede8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd155",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 62.419,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83305,
    "c": 0.14611,
    "h": 111.3
  },
  "luminance": 0.59094
}

Semantic roles & 50–950 ramp

primary
#CCD155
secondary
#403C8E
accent
#47E14D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD155

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

Preview Lab → · Contrast checker → · Palette generator →

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