#CCDC73#CCDC73

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

Color values

HEX#CCDC73
RGBrgb(204, 220, 115)
HSLhsl(69, 60%, 66%)
HSVhsv(69, 48%, 86%)
CMYKcmyk(7.3%, 0%, 47.7%, 13.7%)
CIE-LABlab(84.62, -20.64, 49.42)
CIE-LCHlch(84.62, 53.55, 112.66°)
OKLaboklab(86.02% -0.0584 0.1178)
OKLCHoklch(86.02% 0.131 116.4)
XYZxyz(53.5902, 65.2621, 25.9900)
Luminance0.6526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDC73 #8373DC
analogous
#DCB773 #CCDC73 #97DC73
triadic
#CCDC73 #73CCDC #DC73CC
tetradic
#CCDC73 #73DCB7 #8373DC #DC7397
square
#CCDC73 #73DCB7 #8373DC #DC7397
split-complementary
#CCDC73 #7397DC #B773DC
monochromatic
#97AA2B #BAD042 #CCDC73 #DEE8A4 #F0F4D5

Accessibility & contrast

On white

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

On black

14.05
#CCDC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDC73
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDC73#FFFFFF#000000##000000
##CCDC731.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccdc73;
/* rgb */ color: rgb(204, 220, 115);
/* oklch */ color: oklch(86.0% 0.131 116.4);
Tailwind
colors: {
  custom: {
    50: '#dde69d',
    500: '#ccdc73',
    950: '#000000',
  },
}
SCSS
$custom: #ccdc73;
$custom-light: #dde69d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdc73",
  "rgb": {
    "r": 204,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 69.143,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86022,
    "c": 0.13149,
    "h": 116.4
  },
  "luminance": 0.65262
}

Semantic roles & 50–950 ramp

primary
#CCDC73
secondary
#5647AD
accent
#1EC838
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCDC73

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

Preview Lab → · Contrast checker → · Palette generator →

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