#CCD56B#CCD56B

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

Color values

HEX#CCD56B
RGBrgb(204, 213, 107)
HSLhsl(65, 56%, 63%)
HSVhsv(65, 50%, 84%)
CMYKcmyk(4.2%, 0%, 49.8%, 16.5%)
CIE-LABlab(82.64, -17.94, 50.84)
CIE-LCHlch(82.64, 53.91, 109.44°)
OKLaboklab(84.41% -0.0515 0.1203)
OKLCHoklch(84.41% 0.131 113.2)
XYZxyz(51.3508, 61.4883, 23.0704)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD56B #746BD5
analogous
#D5A96B #CCD56B #97D56B
triadic
#CCD56B #6BCCD5 #D56BCC
tetradic
#CCD56B #6BD5A9 #746BD5 #D56B97
square
#CCD56B #6BD5A9 #746BD5 #D56B97
split-complementary
#CCD56B #6B97D5 #A96BD5
monochromatic
#919A2C #BCC73B #CCD56B #DCE39B #EDF0CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD56B#FFFFFF#000000##000000
##CCD56B1.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)
#E2CC61
Deuteranopia (green-blind)
#E2CF71
Tritanopia (blue-blind)
#D7CABD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd56b;
/* rgb */ color: rgb(204, 213, 107);
/* oklch */ color: oklch(84.4% 0.131 113.2);
Tailwind
colors: {
  custom: {
    50: '#dde198',
    500: '#ccd56b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd56b;
$custom-light: #dde198;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd56b",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 65.094,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84411,
    "c": 0.13084,
    "h": 113.2
  },
  "luminance": 0.61487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCD56B

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

Preview Lab → · Contrast checker → · Palette generator →

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