#CCCD5D#CCCD5D

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

Color values

HEX#CCCD5D
RGBrgb(204, 205, 93)
HSLhsl(61, 53%, 58%)
HSVhsv(61, 55%, 80%)
CMYKcmyk(0.5%, 0%, 54.6%, 19.6%)
CIE-LABlab(80.34, -15.15, 54.65)
CIE-LCHlch(80.34, 56.71, 105.49°)
OKLaboklab(82.53% -0.045 0.1271)
OKLCHoklch(82.53% 0.135 109.5)
XYZxyz(48.7102, 57.2915, 18.8462)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD5D #5E5DCD
analogous
#CD965D #CCCD5D #94CD5D
triadic
#CCCD5D #5DCCCD #CD5DCC
tetradic
#CCCD5D #5DCD96 #5E5DCD #CD5D94
square
#CCCD5D #5DCD96 #5E5DCD #CD5D94
split-complementary
#CCCD5D #5D94CD #965DCD
monochromatic
#858629 #B4B538 #CCCD5D #DBDB8C #E9EABB

Accessibility & contrast

On white

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

On black

12.46
#CCCD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD5D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD5D#FFFFFF#000000##000000
##CCCD5D1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccd5d;
/* rgb */ color: rgb(204, 205, 93);
/* oklch */ color: oklch(82.5% 0.135 109.5);
Tailwind
colors: {
  custom: {
    50: '#dedc8e',
    500: '#cccd5d',
    950: '#000000',
  },
}
SCSS
$custom: #cccd5d;
$custom-light: #dedc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd5d",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 60.536,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8253,
    "c": 0.13486,
    "h": 109.5
  },
  "luminance": 0.5729
}

Semantic roles & 50–950 ramp

primary
#CCCD5D
secondary
#42418D
accent
#4CDC4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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