#CCCD74#CCCD74

#CCCD74 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.112 H 109.2°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CCCD74
RGBrgb(204, 205, 116)
HSLhsl(61, 47%, 63%)
HSVhsv(61, 43%, 80%)
CMYKcmyk(0.5%, 0%, 43.4%, 19.6%)
CIE-LABlab(80.61, -13.09, 44.03)
CIE-LCHlch(80.61, 45.93, 106.55°)
OKLaboklab(82.82% -0.0368 0.1059)
OKLCHoklch(82.82% 0.112 109.2)
XYZxyz(49.8864, 57.7620, 25.0409)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD74 #7574CD
analogous
#CDA174 #CCCD74 #9FCD74
triadic
#CCCD74 #74CCCD #CD74CC
tetradic
#CCCD74 #74CDA1 #7574CD #CD749F
square
#CCCD74 #74CDA1 #7574CD #CD749F
split-complementary
#CCCD74 #749FCD #A174CD
monochromatic
#919235 #BBBD47 #CCCD74 #DDDDA1 #EDEDCE

Accessibility & contrast

On white

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

On black

12.55
#CCCD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD74
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD74#FFFFFF#000000##000000
##CCCD741.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66D
Deuteranopia (green-blind)
#DBCA78
Tritanopia (blue-blind)
#D7C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd74;
/* rgb */ color: rgb(204, 205, 116);
/* oklch */ color: oklch(82.8% 0.112 109.2);
Tailwind
colors: {
  custom: {
    50: '#dddc9d',
    500: '#cccd74',
    950: '#000000',
  },
}
SCSS
$custom: #cccd74;
$custom-light: #dddc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd74",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 60.674,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82824,
    "c": 0.11215,
    "h": 109.2
  },
  "luminance": 0.57761
}

Semantic roles & 50–950 ramp

primary
#CCCD74
secondary
#4E4D98
accent
#2BBA2D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCD74

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

Preview Lab → · Contrast checker → · Palette generator →

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