#CCD877#CCD877

#CCD877 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.122 H 114.8°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#CCD877
RGBrgb(204, 216, 119)
HSLhsl(67, 55%, 66%)
HSVhsv(67, 45%, 85%)
CMYKcmyk(5.6%, 0%, 44.9%, 15.3%)
CIE-LABlab(83.59, -18.27, 46.24)
CIE-LCHlch(83.59, 49.72, 111.56°)
OKLaboklab(85.22% -0.0514 0.1111)
OKLCHoklch(85.22% 0.122 114.8)
XYZxyz(52.7881, 63.2817, 26.8829)
Luminance0.6328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD877 #8377D8
analogous
#D8B477 #CCD877 #9BD877
triadic
#CCD877 #77CCD8 #D877CC
tetradic
#CCD877 #77D8B4 #8377D8 #D8779B
square
#CCD877 #77D8B4 #8377D8 #D8779B
split-complementary
#CCD877 #779BD8 #B477D8
monochromatic
#97A52F #BACA47 #CCD877 #DEE6A7 #F0F3D6

Accessibility & contrast

On white

1.54
#CCD877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#CCD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD877
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD877#FFFFFF#000000##000000
##CCD8771.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D06F
Deuteranopia (green-blind)
#E3D17C
Tritanopia (blue-blind)
#D6CEC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd877;
/* rgb */ color: rgb(204, 216, 119);
/* oklch */ color: oklch(85.2% 0.122 114.8);
Tailwind
colors: {
  custom: {
    50: '#dde4a0',
    500: '#ccd877',
    950: '#000000',
  },
}
SCSS
$custom: #ccd877;
$custom-light: #dde4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd877",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 67.423,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85216,
    "c": 0.12236,
    "h": 114.8
  },
  "luminance": 0.63281
}

Semantic roles & 50–950 ramp

primary
#CCD877
secondary
#564AA9
accent
#23C336
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD877

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

Preview Lab → · Contrast checker → · Palette generator →

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