#CCD86C#CCD86C

#CCD86C is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.133 H 114.5°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CCD86C
RGBrgb(204, 216, 108)
HSLhsl(67, 58%, 64%)
HSVhsv(67, 50%, 85%)
CMYKcmyk(5.6%, 0%, 50%, 15.3%)
CIE-LABlab(83.46, -19.33, 51.34)
CIE-LCHlch(83.46, 54.86, 110.64°)
OKLaboklab(85.07% -0.0554 0.1214)
OKLCHoklch(85.07% 0.133 114.5)
XYZxyz(52.1653, 63.0326, 23.6029)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD86C #786CD8
analogous
#D8AE6C #CCD86C #96D86C
triadic
#CCD86C #6CCCD8 #D86CCC
tetradic
#CCD86C #6CD8AE #786CD8 #D86C96
square
#CCD86C #6CD8AE #786CD8 #D86C96
split-complementary
#CCD86C #6C96D8 #AE6CD8
monochromatic
#929F2A #BBCB3C #CCD86C #DDE59C #EEF2CD

Accessibility & contrast

On white

1.54
#CCD86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CCD86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD86C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD86C#FFFFFF#000000##000000
##CCD86C1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF62
Deuteranopia (green-blind)
#E4D172
Tritanopia (blue-blind)
#D7CEBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd86c;
/* rgb */ color: rgb(204, 216, 108);
/* oklch */ color: oklch(85.1% 0.133 114.5);
Tailwind
colors: {
  custom: {
    50: '#dde499',
    500: '#ccd86c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd86c;
$custom-light: #dde499;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd86c",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 66.667,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85069,
    "c": 0.13347,
    "h": 114.5
  },
  "luminance": 0.63032
}

Semantic roles & 50–950 ramp

primary
#CCD86C
secondary
#4F45A3
accent
#20C632
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD86C

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

Preview Lab → · Contrast checker → · Palette generator →

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