#CCCD9E#CCCD9E

#CCCD9E is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.063 H 108.7°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CCCD9E
RGBrgb(204, 205, 158)
HSLhsl(61, 32%, 71%)
HSVhsv(61, 23%, 80%)
CMYKcmyk(0.5%, 0%, 22.9%, 19.6%)
CIE-LABlab(81.27, -7.99, 23.37)
CIE-LCHlch(81.27, 24.70, 108.88°)
OKLaboklab(83.57% -0.02 0.0593)
OKLCHoklch(83.57% 0.063 108.7)
XYZxyz(52.9045, 58.9693, 40.9363)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD9E #9F9ECD
analogous
#CDB69E #CCCD9E #B4CD9E
triadic
#CCCD9E #9ECCCD #CD9ECC
tetradic
#CCCD9E #9ECDB6 #9F9ECD #CD9EB4
square
#CCCD9E #9ECDB6 #9F9ECD #CD9EB4
split-complementary
#CCCD9E #9EB4CD #B69ECD
monochromatic
#9D9F52 #B7B876 #CCCD9E #E1E2C6 #F4F5EB

Accessibility & contrast

On white

1.64
#CCCD9E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CCCD9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD9E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD9E#FFFFFF#000000##000000
##CCCD9E1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C99B
Deuteranopia (green-blind)
#D6CBA0
Tritanopia (blue-blind)
#D3C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccd9e;
/* rgb */ color: rgb(204, 205, 158);
/* oklch */ color: oklch(83.6% 0.063 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcbb',
    500: '#cccd9e',
    950: '#000000',
  },
}
SCSS
$custom: #cccd9e;
$custom-light: #dcdcbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd9e",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 158
  },
  "hsl": {
    "h": 61.277,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83574,
    "c": 0.06256,
    "h": 108.7
  },
  "luminance": 0.58969
}

Semantic roles & 50–950 ramp

primary
#CCCD9E
secondary
#6E6DA2
accent
#3BAB3D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCD9E

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

Preview Lab → · Contrast checker → · Palette generator →

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