#CCD855#CCD855

#CCD855 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.154 H 114.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#CCD855
RGBrgb(204, 216, 85)
HSLhsl(65, 63%, 59%)
HSVhsv(65, 61%, 85%)
CMYKcmyk(5.6%, 0%, 60.6%, 15.3%)
CIE-LABlab(83.23, -21.17, 61.36)
CIE-LCHlch(83.23, 64.91, 109.04°)
OKLaboklab(84.82% -0.0629 0.1405)
OKLCHoklch(84.82% 0.154 114.1)
XYZxyz(51.0986, 62.6059, 17.9849)
Luminance0.6260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD855 #6155D8
analogous
#D8A355 #CCD855 #8BD855
triadic
#CCD855 #55CCD8 #D855CC
tetradic
#CCD855 #55D8A3 #6155D8 #D8558B
square
#CCD855 #55D8A3 #6155D8 #D8558B
split-complementary
#CCD855 #558BD8 #A355D8
monochromatic
#879121 #B5C32D #CCD855 #DBE387 #EAEFB9

Accessibility & contrast

On white

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

On black

13.52
#CCD855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD855
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD855#FFFFFF#000000##000000
##CCD8551.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE45
Deuteranopia (green-blind)
#E6D15D
Tritanopia (blue-blind)
#D8CCBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd855;
/* rgb */ color: rgb(204, 216, 85);
/* oklch */ color: oklch(84.8% 0.154 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee38a',
    500: '#ccd855',
    950: '#000000',
  },
}
SCSS
$custom: #ccd855;
$custom-light: #dee38a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd855",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 65.496,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84817,
    "c": 0.15388,
    "h": 114.1
  },
  "luminance": 0.62605
}

Semantic roles & 50–950 ramp

primary
#CCD855
secondary
#433B96
accent
#42E651
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD855

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

Preview Lab → · Contrast checker → · Palette generator →

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