#CCCD7C#CCCD7C

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

Color values

HEX#CCCD7C
RGBrgb(204, 205, 124)
HSLhsl(61, 45%, 65%)
HSVhsv(61, 40%, 80%)
CMYKcmyk(0.5%, 0%, 39.5%, 19.6%)
CIE-LABlab(80.71, -12.25, 40.18)
CIE-LCHlch(80.71, 42.00, 106.95°)
OKLaboklab(82.95% -0.0338 0.0977)
OKLCHoklch(82.95% 0.103 109.1)
XYZxyz(50.3719, 57.9562, 27.5980)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD7C #7D7CCD
analogous
#CDA67C #CCCD7C #A4CD7C
triadic
#CCCD7C #7CCCCD #CD7CCC
tetradic
#CCCD7C #7CCDA6 #7D7CCD #CD7CA4
square
#CCCD7C #7CCDA6 #7D7CCD #CD7CA4
split-complementary
#CCCD7C #7CA4CD #A67CCD
monochromatic
#949639 #BBBC50 #CCCD7C #DDDEA8 #EEEFD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCD7C#FFFFFF#000000##000000
##CCCD7C1.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)
#D9C776
Deuteranopia (green-blind)
#DACA80
Tritanopia (blue-blind)
#D6C4B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd7c;
/* rgb */ color: rgb(204, 205, 124);
/* oklch */ color: oklch(82.9% 0.103 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca3',
    500: '#cccd7c',
    950: '#000000',
  },
}
SCSS
$custom: #cccd7c;
$custom-light: #dddca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd7c",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 60.741,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82946,
    "c": 0.1034,
    "h": 109.1
  },
  "luminance": 0.57955
}

Semantic roles & 50–950 ramp

primary
#CCCD7C
secondary
#52519C
accent
#2EB82F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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