#CCCD4F#CCCD4F

#CCCD4F is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.147 H 109.7°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CCCD4F
RGBrgb(204, 205, 79)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0.5%, 0%, 61.5%, 19.6%)
CIE-LABlab(80.22, -16.15, 60.63)
CIE-LCHlch(80.22, 62.74, 104.92°)
OKLaboklab(82.39% -0.0493 0.1381)
OKLCHoklch(82.39% 0.147 109.7)
XYZxyz(48.1459, 57.0658, 15.8742)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD4F #504FCD
analogous
#CD8F4F #CCCD4F #8DCD4F
triadic
#CCCD4F #4FCCCD #CD4FCC
tetradic
#CCCD4F #4FCD8F #504FCD #CD4F8D
square
#CCCD4F #4FCD8F #504FCD #CD4F8D
split-complementary
#CCCD4F #4F8DCD #8F4FCD
monochromatic
#7D7E24 #ADAE31 #CCCD4F #DADB7F #E8E8AE

Accessibility & contrast

On white

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

On black

12.41
#CCCD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD4F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD4F#FFFFFF#000000##000000
##CCCD4F1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC540
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#D9C1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd4f;
/* rgb */ color: rgb(204, 205, 79);
/* oklch */ color: oklch(82.4% 0.147 109.7);
Tailwind
colors: {
  custom: {
    50: '#dedc86',
    500: '#cccd4f',
    950: '#000000',
  },
}
SCSS
$custom: #cccd4f;
$custom-light: #dedc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd4f",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 60.476,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82388,
    "c": 0.14664,
    "h": 109.7
  },
  "luminance": 0.57065
}

Semantic roles & 50–950 ramp

primary
#CCCD4F
secondary
#3B3B86
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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