#CCD88D#CCD88D

#CCD88D is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.098 H 115.9°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#CCD88D
RGBrgb(204, 216, 141)
HSLhsl(70, 49%, 70%)
HSVhsv(70, 35%, 85%)
CMYKcmyk(5.6%, 0%, 34.7%, 15.3%)
CIE-LABlab(83.90, -15.81, 35.68)
CIE-LCHlch(83.90, 39.02, 113.90°)
OKLaboklab(85.56% -0.0428 0.0881)
OKLCHoklch(85.56% 0.098 115.9)
XYZxyz(54.2655, 63.8726, 34.6641)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD88D #998DD8
analogous
#D8BF8D #CCD88D #A6D88D
triadic
#CCD88D #8DCCD8 #D88DCC
tetradic
#CCD88D #8DD8BF #998DD8 #D88DA6
square
#CCD88D #8DD8BF #998DD8 #D88DA6
split-complementary
#CCD88D #8DA6D8 #BF8DD8
monochromatic
#9CAF3C #B8C85F #CCD88D #E0E8BB #F5F7E8

Accessibility & contrast

On white

1.52
#CCD88D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#CCD88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD88D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD88D#FFFFFF#000000##000000
##CCD88D1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D188
Deuteranopia (green-blind)
#E1D290
Tritanopia (blue-blind)
#D4D0C5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd88d;
/* rgb */ color: rgb(204, 216, 141);
/* oklch */ color: oklch(85.6% 0.098 115.9);
Tailwind
colors: {
  custom: {
    50: '#dce4af',
    500: '#ccd88d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd88d;
$custom-light: #dce4af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd88d",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 141
  },
  "hsl": {
    "h": 69.6,
    "s": 49.02,
    "l": 70
  },
  "oklch": {
    "l": 0.85563,
    "c": 0.09799,
    "h": 115.9
  },
  "luminance": 0.63872
}

Semantic roles & 50–950 ramp

primary
#CCD88D
secondary
#685BAF
accent
#29BC41
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD88D

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

Preview Lab → · Contrast checker → · Palette generator →

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