#CCD774#CCD774

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

Color values

HEX#CCD774
RGBrgb(204, 215, 116)
HSLhsl(67, 55%, 65%)
HSVhsv(67, 46%, 84%)
CMYKcmyk(5.1%, 0%, 46%, 15.7%)
CIE-LABlab(83.28, -18.08, 47.32)
CIE-LCHlch(83.28, 50.65, 110.91°)
OKLaboklab(84.96% -0.0511 0.1132)
OKLCHoklch(84.96% 0.124 114.3)
XYZxyz(52.3554, 62.6999, 25.8639)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD774 #7F74D7
analogous
#D7B174 #CCD774 #9AD774
triadic
#CCD774 #74CCD7 #D774CC
tetradic
#CCD774 #74D7B1 #7F74D7 #D7749A
square
#CCD774 #74D7B1 #7F74D7 #D7749A
split-complementary
#CCD774 #749AD7 #B174D7
monochromatic
#95A22F #BBC944 #CCD774 #DDE5A4 #EFF2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD774#FFFFFF#000000##000000
##CCD7741.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)
#E3CF6C
Deuteranopia (green-blind)
#E3D179
Tritanopia (blue-blind)
#D6CDC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd774;
/* rgb */ color: rgb(204, 215, 116);
/* oklch */ color: oklch(85.0% 0.124 114.3);
Tailwind
colors: {
  custom: {
    50: '#dde39e',
    500: '#ccd774',
    950: '#000000',
  },
}
SCSS
$custom: #ccd774;
$custom-light: #dde39e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd774",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 66.667,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84959,
    "c": 0.12422,
    "h": 114.3
  },
  "luminance": 0.62699
}

Semantic roles & 50–950 ramp

primary
#CCD774
secondary
#5449A6
accent
#23C334
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD774

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

Preview Lab → · Contrast checker → · Palette generator →

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