#CCD56C#CCD56C

#CCD56C is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.130 H 113.2°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#CCD56C
RGBrgb(204, 213, 108)
HSLhsl(65, 56%, 63%)
HSVhsv(65, 49%, 84%)
CMYKcmyk(4.2%, 0%, 49.3%, 16.5%)
CIE-LABlab(82.65, -17.85, 50.38)
CIE-LCHlch(82.65, 53.45, 109.51°)
OKLaboklab(84.42% -0.0512 0.1194)
OKLCHoklch(84.42% 0.13 113.2)
XYZxyz(51.4037, 61.5094, 23.3491)
Luminance0.6151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD56C #756CD5
analogous
#D5A96C #CCD56C #97D56C
triadic
#CCD56C #6CCCD5 #D56CCC
tetradic
#CCD56C #6CD5A9 #756CD5 #D56C97
square
#CCD56C #6CD5A9 #756CD5 #D56C97
split-complementary
#CCD56C #6C97D5 #A96CD5
monochromatic
#919A2C #BBC73C #CCD56C #DDE39C #EDF0CB

Accessibility & contrast

On white

1.58
#CCD56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#CCD56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD56C
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD56C#FFFFFF#000000##000000
##CCD56C1.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD62
Deuteranopia (green-blind)
#E2CF72
Tritanopia (blue-blind)
#D7CBBD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd56c;
/* rgb */ color: rgb(204, 213, 108);
/* oklch */ color: oklch(84.4% 0.130 113.2);
Tailwind
colors: {
  custom: {
    50: '#dde199',
    500: '#ccd56c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd56c;
$custom-light: #dde199;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd56c",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 65.143,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84424,
    "c": 0.12986,
    "h": 113.2
  },
  "luminance": 0.61509
}

Semantic roles & 50–950 ramp

primary
#CCD56C
secondary
#4E469F
accent
#22C330
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD56C

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

Preview Lab → · Contrast checker → · Palette generator →

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