#CCD288#CCD288

#CCD288 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.096 H 112.2°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#CCD288
RGBrgb(204, 210, 136)
HSLhsl(65, 45%, 68%)
HSVhsv(65, 35%, 82%)
CMYKcmyk(2.9%, 0%, 35.2%, 17.6%)
CIE-LABlab(82.22, -13.40, 36.04)
CIE-LCHlch(82.22, 38.45, 110.40°)
OKLaboklab(84.2% -0.0363 0.0888)
OKLCHoklch(84.2% 0.096 112.2)
XYZxyz(52.3927, 60.7088, 32.2457)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD288 #8E88D2
analogous
#D2B388 #CCD288 #A7D288
triadic
#CCD288 #88CCD2 #D288CC
tetradic
#CCD288 #88D2B3 #8E88D2 #D288A7
square
#CCD288 #88D2B3 #8E88D2 #D288A7
split-complementary
#CCD288 #88A7D2 #B388D2
monochromatic
#9AA23D #B9C15C #CCD288 #DFE3B4 #F2F4E1

Accessibility & contrast

On white

1.60
#CCD288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#CCD288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD288
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD288#FFFFFF#000000##000000
##CCD2881.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB83
Deuteranopia (green-blind)
#DDCE8B
Tritanopia (blue-blind)
#D5CABF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd288;
/* rgb */ color: rgb(204, 210, 136);
/* oklch */ color: oklch(84.2% 0.096 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdfab',
    500: '#ccd288',
    950: '#000000',
  },
}
SCSS
$custom: #ccd288;
$custom-light: #dcdfab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd288",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 136
  },
  "hsl": {
    "h": 64.865,
    "s": 45.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84202,
    "c": 0.09591,
    "h": 112.2
  },
  "luminance": 0.60708
}

Semantic roles & 50–950 ramp

primary
#CCD288
secondary
#5D57A7
accent
#2DB838
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD288

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

Preview Lab → · Contrast checker → · Palette generator →

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