#CCCD8A#CCCD8A

#CCCD8A is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.087 H 108.9°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CCCD8A
RGBrgb(204, 205, 138)
HSLhsl(61, 40%, 67%)
HSVhsv(61, 33%, 80%)
CMYKcmyk(0.5%, 0%, 32.7%, 19.6%)
CIE-LABlab(80.93, -10.63, 33.32)
CIE-LCHlch(80.93, 34.97, 107.69°)
OKLaboklab(83.18% -0.0282 0.0825)
OKLCHoklch(83.18% 0.087 108.9)
XYZxyz(51.3210, 58.3358, 32.5962)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD8A #8B8ACD
analogous
#CDAD8A #CCCD8A #AACD8A
triadic
#CCCD8A #8ACCCD #CD8ACC
tetradic
#CCCD8A #8ACDAD #8B8ACD #CD8AAA
square
#CCCD8A #8ACDAD #8B8ACD #CD8AAA
split-complementary
#CCCD8A #8AAACD #AD8ACD
monochromatic
#999B42 #B9BB5F #CCCD8A #DFDFB5 #F1F2E0

Accessibility & contrast

On white

1.66
#CCCD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CCCD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD8A
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD8A#FFFFFF#000000##000000
##CCCD8A1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C885
Deuteranopia (green-blind)
#D8CA8D
Tritanopia (blue-blind)
#D5C5BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccd8a;
/* rgb */ color: rgb(204, 205, 138);
/* oklch */ color: oklch(83.2% 0.087 108.9);
Tailwind
colors: {
  custom: {
    50: '#dcdcad',
    500: '#cccd8a',
    950: '#000000',
  },
}
SCSS
$custom: #cccd8a;
$custom-light: #dcdcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd8a",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 60.896,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83182,
    "c": 0.08723,
    "h": 108.9
  },
  "luminance": 0.58335
}

Semantic roles & 50–950 ramp

primary
#CCCD8A
secondary
#5B5AA1
accent
#32B334
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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