#CCD882#CCD882

#CCD882 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.111 H 115.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CCD882
RGBrgb(204, 216, 130)
HSLhsl(68, 52%, 68%)
HSVhsv(68, 40%, 85%)
CMYKcmyk(5.6%, 0%, 39.8%, 15.3%)
CIE-LABlab(83.74, -17.10, 41.01)
CIE-LCHlch(83.74, 44.43, 112.64°)
OKLaboklab(85.38% -0.0472 0.0999)
OKLCHoklch(85.38% 0.111 115.3)
XYZxyz(53.4873, 63.5614, 30.5656)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD882 #8E82D8
analogous
#D8B982 #CCD882 #A1D882
triadic
#CCD882 #82CCD8 #D882CC
tetradic
#CCD882 #82D8B9 #8E82D8 #D882A1
square
#CCD882 #82D8B9 #8E82D8 #D882A1
split-complementary
#CCD882 #82A1D8 #B982D8
monochromatic
#9AAA35 #B9C953 #CCD882 #DFE7B1 #F2F5DF

Accessibility & contrast

On white

1.53
#CCD882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CCD882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD882
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD882#FFFFFF#000000##000000
##CCD8821.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07B
Deuteranopia (green-blind)
#E2D286
Tritanopia (blue-blind)
#D5CFC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd882;
/* rgb */ color: rgb(204, 216, 130);
/* oklch */ color: oklch(85.4% 0.111 115.3);
Tailwind
colors: {
  custom: {
    50: '#dde4a7',
    500: '#ccd882',
    950: '#000000',
  },
}
SCSS
$custom: #ccd882;
$custom-light: #dde4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd882",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 130
  },
  "hsl": {
    "h": 68.372,
    "s": 52.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8538,
    "c": 0.1105,
    "h": 115.3
  },
  "luminance": 0.63561
}

Semantic roles & 50–950 ramp

primary
#CCD882
secondary
#5D50AE
accent
#26C03B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD882

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

Preview Lab → · Contrast checker → · Palette generator →

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