#CCD156#CCD156

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

Color values

HEX#CCD156
RGBrgb(204, 209, 86)
HSLhsl(62, 57%, 58%)
HSVhsv(62, 59%, 82%)
CMYKcmyk(2.4%, 0%, 58.9%, 18%)
CIE-LABlab(81.35, -17.66, 58.88)
CIE-LCHlch(81.35, 61.47, 106.70°)
OKLaboklab(83.31% -0.0529 0.1353)
OKLCHoklch(83.31% 0.145 111.3)
XYZxyz(49.3833, 59.1113, 17.6105)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD156 #5B56D1
analogous
#D19856 #CCD156 #8ED156
triadic
#CCD156 #56CCD1 #D156CC
tetradic
#CCD156 #56D198 #5B56D1 #D1568E
square
#CCD156 #56D198 #5B56D1 #D1568E
split-complementary
#CCD156 #568ED1 #9856D1
monochromatic
#848825 #B2B832 #CCD156 #DBDE86 #E9EBB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD156#FFFFFF#000000##000000
##CCD1561.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)
#E0C848
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#D9C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd156;
/* rgb */ color: rgb(204, 209, 86);
/* oklch */ color: oklch(83.3% 0.145 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede8a',
    500: '#ccd156',
    950: '#000000',
  },
}
SCSS
$custom: #ccd156;
$custom-light: #dede8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd156",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 62.439,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83314,
    "c": 0.14529,
    "h": 111.3
  },
  "luminance": 0.5911
}

Semantic roles & 50–950 ramp

primary
#CCD156
secondary
#403D8E
accent
#47E04E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD156

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

Preview Lab → · Contrast checker → · Palette generator →

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