#CCDC74#CCDC74

#CCDC74 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.0% C 0.130 H 116.4°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#CCDC74
RGBrgb(204, 220, 116)
HSLhsl(69, 60%, 66%)
HSVhsv(69, 47%, 86%)
CMYKcmyk(7.3%, 0%, 47.3%, 13.7%)
CIE-LABlab(84.63, -20.54, 48.95)
CIE-LCHlch(84.63, 53.09, 112.76°)
OKLaboklab(86.04% -0.0581 0.1169)
OKLCHoklch(86.04% 0.13 116.4)
XYZxyz(53.6480, 65.2853, 26.2947)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDC74 #8474DC
analogous
#DCB874 #CCDC74 #98DC74
triadic
#CCDC74 #74CCDC #DC74CC
tetradic
#CCDC74 #74DCB8 #8474DC #DC7498
square
#CCDC74 #74DCB8 #8474DC #DC7498
split-complementary
#CCDC74 #7498DC #B874DC
monochromatic
#97AB2B #BAD043 #CCDC74 #DEE8A5 #F0F5D6

Accessibility & contrast

On white

1.49
#CCDC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#CCDC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDC74
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDC74#FFFFFF#000000##000000
##CCDC741.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36B
Deuteranopia (green-blind)
#E7D479
Tritanopia (blue-blind)
#D6D2C4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ccdc74;
/* rgb */ color: rgb(204, 220, 116);
/* oklch */ color: oklch(86.0% 0.130 116.4);
Tailwind
colors: {
  custom: {
    50: '#dde69e',
    500: '#ccdc74',
    950: '#000000',
  },
}
SCSS
$custom: #ccdc74;
$custom-light: #dde69e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdc74",
  "rgb": {
    "r": 204,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 69.231,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86035,
    "c": 0.13048,
    "h": 116.4
  },
  "luminance": 0.65285
}

Semantic roles & 50–950 ramp

primary
#CCDC74
secondary
#5747AD
accent
#1EC738
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCDC74

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

Preview Lab → · Contrast checker → · Palette generator →

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