#CCD474#CCD474

#CCD474 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.121 H 112.9°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#CCD474
RGBrgb(204, 212, 116)
HSLhsl(65, 53%, 64%)
HSVhsv(65, 45%, 83%)
CMYKcmyk(3.8%, 0%, 45.3%, 16.9%)
CIE-LABlab(82.48, -16.59, 46.33)
CIE-LCHlch(82.48, 49.21, 109.70°)
OKLaboklab(84.32% -0.0469 0.1111)
OKLCHoklch(84.32% 0.121 112.9)
XYZxyz(51.5984, 61.1861, 25.6115)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD474 #7C74D4
analogous
#D4AC74 #CCD474 #9CD474
triadic
#CCD474 #74CCD4 #D474CC
tetradic
#CCD474 #74D4AC #7C74D4 #D4749C
square
#CCD474 #74D4AC #7C74D4 #D4749C
split-complementary
#CCD474 #749CD4 #AC74D4
monochromatic
#949D31 #BBC645 #CCD474 #DDE2A3 #EEF1D1

Accessibility & contrast

On white

1.59
#CCD474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#CCD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD474
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD474#FFFFFF#000000##000000
##CCD4741.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6C
Deuteranopia (green-blind)
#E0CE79
Tritanopia (blue-blind)
#D7CABD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd474;
/* rgb */ color: rgb(204, 212, 116);
/* oklch */ color: oklch(84.3% 0.121 112.9);
Tailwind
colors: {
  custom: {
    50: '#dde19e',
    500: '#ccd474',
    950: '#000000',
  },
}
SCSS
$custom: #ccd474;
$custom-light: #dde19e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd474",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 65,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84316,
    "c": 0.12053,
    "h": 112.9
  },
  "luminance": 0.61185
}

Semantic roles & 50–950 ramp

primary
#CCD474
secondary
#524AA2
accent
#25C032
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD474

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

Preview Lab → · Contrast checker → · Palette generator →

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