#CCCD5F#CCCD5F

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

Color values

HEX#CCCD5F
RGBrgb(204, 205, 95)
HSLhsl(61, 52%, 59%)
HSVhsv(61, 54%, 80%)
CMYKcmyk(0.5%, 0%, 53.7%, 19.6%)
CIE-LABlab(80.36, -14.99, 53.76)
CIE-LCHlch(80.36, 55.81, 105.58°)
OKLaboklab(82.55% -0.0443 0.1254)
OKLCHoklch(82.55% 0.133 109.5)
XYZxyz(48.8000, 57.3274, 19.3189)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD5F #605FCD
analogous
#CD975F #CCCD5F #95CD5F
triadic
#CCCD5F #5FCCCD #CD5FCC
tetradic
#CCCD5F #5FCD97 #605FCD #CD5F95
square
#CCCD5F #5FCD97 #605FCD #CD5F95
split-complementary
#CCCD5F #5F95CD #975FCD
monochromatic
#86872A #B5B639 #CCCD5F #DBDC8E #EAEABC

Accessibility & contrast

On white

1.68
#CCCD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CCCD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD5F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD5F#FFFFFF#000000##000000
##CCCD5F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#DDC965
Tritanopia (blue-blind)
#D9C2B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd5f;
/* rgb */ color: rgb(204, 205, 95);
/* oklch */ color: oklch(82.6% 0.133 109.5);
Tailwind
colors: {
  custom: {
    50: '#dedc90',
    500: '#cccd5f',
    950: '#000000',
  },
}
SCSS
$custom: #cccd5f;
$custom-light: #dedc90;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd5f",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 60.545,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82552,
    "c": 0.13305,
    "h": 109.5
  },
  "luminance": 0.57326
}

Semantic roles & 50–950 ramp

primary
#CCCD5F
secondary
#43428E
accent
#4CDC4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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