#CCD773#CCD773

#CCD773 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.125 H 114.3°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#CCD773
RGBrgb(204, 215, 115)
HSLhsl(67, 56%, 65%)
HSVhsv(67, 47%, 84%)
CMYKcmyk(5.1%, 0%, 46.5%, 15.7%)
CIE-LABlab(83.27, -18.18, 47.78)
CIE-LCHlch(83.27, 51.13, 110.83°)
OKLaboklab(84.95% -0.0515 0.1142)
OKLCHoklch(84.95% 0.125 114.3)
XYZxyz(52.2975, 62.6768, 25.5592)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD773 #7E73D7
analogous
#D7B073 #CCD773 #9AD773
triadic
#CCD773 #73CCD7 #D773CC
tetradic
#CCD773 #73D7B0 #7E73D7 #D7739A
square
#CCD773 #73D7B0 #7E73D7 #D7739A
split-complementary
#CCD773 #739AD7 #B073D7
monochromatic
#95A12E #BBC943 #CCD773 #DDE5A3 #EFF2D2

Accessibility & contrast

On white

1.55
#CCD773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#CCD773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD773
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD773#FFFFFF#000000##000000
##CCD7731.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE6A
Deuteranopia (green-blind)
#E3D178
Tritanopia (blue-blind)
#D6CDC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd773;
/* rgb */ color: rgb(204, 215, 115);
/* oklch */ color: oklch(84.9% 0.125 114.3);
Tailwind
colors: {
  custom: {
    50: '#dde39d',
    500: '#ccd773',
    950: '#000000',
  },
}
SCSS
$custom: #ccd773;
$custom-light: #dde39d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd773",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 115
  },
  "hsl": {
    "h": 66.6,
    "s": 55.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84946,
    "c": 0.12525,
    "h": 114.3
  },
  "luminance": 0.62676
}

Semantic roles & 50–950 ramp

primary
#CCD773
secondary
#5349A5
accent
#22C334
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD773

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

Preview Lab → · Contrast checker → · Palette generator →

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