#CCD477#CCD477

#CCD477 is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.4% C 0.117 H 112.9°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#CCD477
RGBrgb(204, 212, 119)
HSLhsl(65, 52%, 65%)
HSVhsv(65, 44%, 83%)
CMYKcmyk(3.8%, 0%, 43.9%, 16.9%)
CIE-LABlab(82.52, -16.29, 44.91)
CIE-LCHlch(82.52, 47.78, 109.94°)
OKLaboklab(84.36% -0.0457 0.1081)
OKLCHoklch(84.36% 0.117 112.9)
XYZxyz(51.7758, 61.2570, 26.5455)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD477 #7F77D4
analogous
#D4AD77 #CCD477 #9ED477
triadic
#CCD477 #77CCD4 #D477CC
tetradic
#CCD477 #77D4AD #7F77D4 #D4779E
square
#CCD477 #77D4AD #7F77D4 #D4779E
split-complementary
#CCD477 #779ED4 #AD77D4
monochromatic
#959E32 #BBC549 #CCD477 #DDE3A5 #EFF1D4

Accessibility & contrast

On white

1.58
#CCD477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#CCD477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD477
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD477#FFFFFF#000000##000000
##CCD4771.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC6F
Deuteranopia (green-blind)
#E0CF7C
Tritanopia (blue-blind)
#D6CABE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd477;
/* rgb */ color: rgb(204, 212, 119);
/* oklch */ color: oklch(84.4% 0.117 112.9);
Tailwind
colors: {
  custom: {
    50: '#dde1a0',
    500: '#ccd477',
    950: '#000000',
  },
}
SCSS
$custom: #ccd477;
$custom-light: #dde1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd477",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 65.161,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84359,
    "c": 0.11738,
    "h": 112.9
  },
  "luminance": 0.61256
}

Semantic roles & 50–950 ramp

primary
#CCD477
secondary
#544CA3
accent
#26BF33
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD477

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

Preview Lab → · Contrast checker → · Palette generator →

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