#CCCD7B#CCCD7B

#CCCD7B is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.105 H 109.1°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CCCD7B
RGBrgb(204, 205, 123)
HSLhsl(61, 45%, 64%)
HSVhsv(61, 40%, 80%)
CMYKcmyk(0.5%, 0%, 40%, 19.6%)
CIE-LABlab(80.70, -12.36, 40.66)
CIE-LCHlch(80.70, 42.50, 106.90°)
OKLaboklab(82.93% -0.0342 0.0988)
OKLCHoklch(82.93% 0.105 109.1)
XYZxyz(50.3090, 57.9311, 27.2667)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD7B #7C7BCD
analogous
#CDA57B #CCCD7B #A3CD7B
triadic
#CCCD7B #7BCCCD #CD7BCC
tetradic
#CCCD7B #7BCDA5 #7C7BCD #CD7BA3
square
#CCCD7B #7BCDA5 #7C7BCD #CD7BA3
split-complementary
#CCCD7B #7BA3CD #A57BCD
monochromatic
#949538 #BBBC4F #CCCD7B #DDDEA7 #EEEFD4

Accessibility & contrast

On white

1.67
#CCCD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CCCD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD7B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD7B#FFFFFF#000000##000000
##CCCD7B1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C775
Deuteranopia (green-blind)
#DACA7F
Tritanopia (blue-blind)
#D6C4B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd7b;
/* rgb */ color: rgb(204, 205, 123);
/* oklch */ color: oklch(82.9% 0.105 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca2',
    500: '#cccd7b',
    950: '#000000',
  },
}
SCSS
$custom: #cccd7b;
$custom-light: #dddca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd7b",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 60.732,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8293,
    "c": 0.10452,
    "h": 109.1
  },
  "luminance": 0.5793
}

Semantic roles & 50–950 ramp

primary
#CCCD7B
secondary
#52519B
accent
#2DB82F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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