#CCCD79#CCCD79

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

Color values

HEX#CCCD79
RGBrgb(204, 205, 121)
HSLhsl(61, 46%, 64%)
HSVhsv(61, 41%, 80%)
CMYKcmyk(0.5%, 0%, 41%, 19.6%)
CIE-LABlab(80.67, -12.57, 41.63)
CIE-LCHlch(80.67, 43.48, 106.80°)
OKLaboklab(82.9% -0.0349 0.1009)
OKLCHoklch(82.9% 0.107 109.1)
XYZxyz(50.1851, 57.8815, 26.6140)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD79 #7A79CD
analogous
#CDA479 #CCCD79 #A2CD79
triadic
#CCCD79 #79CCCD #CD79CC
tetradic
#CCCD79 #79CDA4 #7A79CD #CD79A2
square
#CCCD79 #79CDA4 #7A79CD #CD79A2
split-complementary
#CCCD79 #79A2CD #A479CD
monochromatic
#939437 #BBBC4C #CCCD79 #DDDEA6 #EEEED2

Accessibility & contrast

On white

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

On black

12.58
#CCCD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD79
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD79#FFFFFF#000000##000000
##CCCD791.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C772
Deuteranopia (green-blind)
#DACA7D
Tritanopia (blue-blind)
#D7C4B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd79;
/* rgb */ color: rgb(204, 205, 121);
/* oklch */ color: oklch(82.9% 0.107 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca1',
    500: '#cccd79',
    950: '#000000',
  },
}
SCSS
$custom: #cccd79;
$custom-light: #dddca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd79",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 60.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.10673,
    "h": 109.1
  },
  "luminance": 0.5788
}

Semantic roles & 50–950 ramp

primary
#CCCD79
secondary
#51509B
accent
#2DB92E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCD79

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

Preview Lab → · Contrast checker → · Palette generator →

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