#CCCD5C#CCCD5C

#CCCD5C is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.136 H 109.5°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CCCD5C
RGBrgb(204, 205, 92)
HSLhsl(61, 53%, 58%)
HSVhsv(61, 55%, 80%)
CMYKcmyk(0.5%, 0%, 55.1%, 19.6%)
CIE-LABlab(80.33, -15.22, 55.09)
CIE-LCHlch(80.33, 57.16, 105.45°)
OKLaboklab(82.52% -0.0453 0.128)
OKLCHoklch(82.52% 0.136 109.5)
XYZxyz(48.6662, 57.2739, 18.6145)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD5C #5D5CCD
analogous
#CD955C #CCCD5C #93CD5C
triadic
#CCCD5C #5CCCCD #CD5CCC
tetradic
#CCCD5C #5CCD95 #5D5CCD #CD5C93
square
#CCCD5C #5CCD95 #5D5CCD #CD5C93
split-complementary
#CCCD5C #5C93CD #955CCD
monochromatic
#858629 #B3B437 #CCCD5C #DBDB8B #E9EABA

Accessibility & contrast

On white

1.69
#CCCD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CCCD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD5C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD5C#FFFFFF#000000##000000
##CCCD5C1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC550
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#D9C2B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd5c;
/* rgb */ color: rgb(204, 205, 92);
/* oklch */ color: oklch(82.5% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#dedc8e',
    500: '#cccd5c',
    950: '#000000',
  },
}
SCSS
$custom: #cccd5c;
$custom-light: #dedc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd5c",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 60.531,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82519,
    "c": 0.13575,
    "h": 109.5
  },
  "luminance": 0.57273
}

Semantic roles & 50–950 ramp

primary
#CCCD5C
secondary
#41408D
accent
#4BDC4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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