#CCCD6F#CCCD6F

#CCCD6F is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.117 H 109.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CCCD6F
RGBrgb(204, 205, 111)
HSLhsl(61, 48%, 62%)
HSVhsv(61, 46%, 80%)
CMYKcmyk(0.5%, 0%, 45.9%, 19.6%)
CIE-LABlab(80.54, -13.58, 46.40)
CIE-LCHlch(80.54, 48.35, 106.31°)
OKLaboklab(82.75% -0.0387 0.1108)
OKLCHoklch(82.75% 0.117 109.3)
XYZxyz(49.6034, 57.6488, 23.5502)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD6F #706FCD
analogous
#CD9F6F #CCCD6F #9DCD6F
triadic
#CCCD6F #6FCCCD #CD6FCC
tetradic
#CCCD6F #6FCD9F #706FCD #CD6F9D
square
#CCCD6F #6FCD9F #706FCD #CD6F9D
split-complementary
#CCCD6F #6F9DCD #9F6FCD
monochromatic
#8F9032 #BCBD42 #CCCD6F #DCDD9C #ECEDCA

Accessibility & contrast

On white

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

On black

12.53
#CCCD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD6F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD6F#FFFFFF#000000##000000
##CCCD6F1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC667
Deuteranopia (green-blind)
#DBC974
Tritanopia (blue-blind)
#D7C3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd6f;
/* rgb */ color: rgb(204, 205, 111);
/* oklch */ color: oklch(82.8% 0.117 109.3);
Tailwind
colors: {
  custom: {
    50: '#dddc9a',
    500: '#cccd6f',
    950: '#000000',
  },
}
SCSS
$custom: #cccd6f;
$custom-light: #dddc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd6f",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 60.638,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82754,
    "c": 0.11741,
    "h": 109.3
  },
  "luminance": 0.57648
}

Semantic roles & 50–950 ramp

primary
#CCCD6F
secondary
#4B4A96
accent
#2ABC2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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