#CCD856#CCD856

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

Color values

HEX#CCD856
RGBrgb(204, 216, 86)
HSLhsl(66, 63%, 59%)
HSVhsv(66, 60%, 85%)
CMYKcmyk(5.6%, 0%, 60.2%, 15.3%)
CIE-LABlab(83.24, -21.10, 60.95)
CIE-LCHlch(83.24, 64.50, 109.10°)
OKLaboklab(84.83% -0.0626 0.1397)
OKLCHoklch(84.83% 0.153 114.1)
XYZxyz(51.1386, 62.6219, 18.1956)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD856 #6256D8
analogous
#D8A356 #CCD856 #8BD856
triadic
#CCD856 #56CCD8 #D856CC
tetradic
#CCD856 #56D8A3 #6256D8 #D8568B
square
#CCD856 #56D8A3 #6256D8 #D8568B
split-complementary
#CCD856 #568BD8 #A356D8
monochromatic
#889222 #B6C42D #CCD856 #DBE388 #EAEFB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD856#FFFFFF#000000##000000
##CCD8561.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)
#E7CE47
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#D8CCBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd856;
/* rgb */ color: rgb(204, 216, 86);
/* oklch */ color: oklch(84.8% 0.153 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee38b',
    500: '#ccd856',
    950: '#000000',
  },
}
SCSS
$custom: #ccd856;
$custom-light: #dee38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd856",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 65.538,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84826,
    "c": 0.15308,
    "h": 114.1
  },
  "luminance": 0.62621
}

Semantic roles & 50–950 ramp

primary
#CCD856
secondary
#443B97
accent
#42E651
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD856

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

Preview Lab → · Contrast checker → · Palette generator →

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