#CCD285#CCD285

#CCD285 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.099 H 112.1°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#CCD285
RGBrgb(204, 210, 133)
HSLhsl(65, 46%, 67%)
HSVhsv(65, 37%, 82%)
CMYKcmyk(2.9%, 0%, 36.7%, 17.6%)
CIE-LABlab(82.18, -13.76, 37.50)
CIE-LCHlch(82.18, 39.95, 110.15°)
OKLaboklab(84.15% -0.0375 0.0921)
OKLCHoklch(84.15% 0.099 112.1)
XYZxyz(52.1825, 60.6247, 31.1386)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD285 #8B85D2
analogous
#D2B185 #CCD285 #A6D285
triadic
#CCD285 #85CCD2 #D285CC
tetradic
#CCD285 #85D2B1 #8B85D2 #D285A6
square
#CCD285 #85D2B1 #8B85D2 #D285A6
split-complementary
#CCD285 #85A6D2 #B185D2
monochromatic
#99A13B #B9C258 #CCD285 #DFE2B2 #F1F3DE

Accessibility & contrast

On white

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

On black

13.12
#CCD285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD285
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD285#FFFFFF#000000##000000
##CCD2851.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7F
Deuteranopia (green-blind)
#DDCD88
Tritanopia (blue-blind)
#D5C9BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd285;
/* rgb */ color: rgb(204, 210, 133);
/* oklch */ color: oklch(84.2% 0.099 112.1);
Tailwind
colors: {
  custom: {
    50: '#dcdfa9',
    500: '#ccd285',
    950: '#000000',
  },
}
SCSS
$custom: #ccd285;
$custom-light: #dcdfa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd285",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 133
  },
  "hsl": {
    "h": 64.675,
    "s": 46.108,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84151,
    "c": 0.09938,
    "h": 112.1
  },
  "luminance": 0.60624
}

Semantic roles & 50–950 ramp

primary
#CCD285
secondary
#5B55A6
accent
#2CB937
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD285

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

Preview Lab → · Contrast checker → · Palette generator →

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