#CCD775#CCD775

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

Color values

HEX#CCD775
RGBrgb(204, 215, 117)
HSLhsl(67, 55%, 65%)
HSVhsv(67, 46%, 84%)
CMYKcmyk(5.1%, 0%, 45.6%, 15.7%)
CIE-LABlab(83.30, -17.98, 46.85)
CIE-LCHlch(83.30, 50.18, 111.00°)
OKLaboklab(84.97% -0.0507 0.1123)
OKLCHoklch(84.97% 0.123 114.3)
XYZxyz(52.4138, 62.7233, 26.1718)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD775 #8075D7
analogous
#D7B175 #CCD775 #9BD775
triadic
#CCD775 #75CCD7 #D775CC
tetradic
#CCD775 #75D7B1 #8075D7 #D7759B
square
#CCD775 #75D7B1 #8075D7 #D7759B
split-complementary
#CCD775 #759BD7 #B175D7
monochromatic
#96A22F #BAC946 #CCD775 #DEE5A4 #EFF3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD775#FFFFFF#000000##000000
##CCD7751.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)
#E3CF6D
Deuteranopia (green-blind)
#E3D17A
Tritanopia (blue-blind)
#D6CDC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd775;
/* rgb */ color: rgb(204, 215, 117);
/* oklch */ color: oklch(85.0% 0.123 114.3);
Tailwind
colors: {
  custom: {
    50: '#dde39f',
    500: '#ccd775',
    950: '#000000',
  },
}
SCSS
$custom: #ccd775;
$custom-light: #dde39f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd775",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 117
  },
  "hsl": {
    "h": 66.735,
    "s": 55.056,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84973,
    "c": 0.1232,
    "h": 114.3
  },
  "luminance": 0.62723
}

Semantic roles & 50–950 ramp

primary
#CCD775
secondary
#544AA6
accent
#23C335
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD775

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

Preview Lab → · Contrast checker → · Palette generator →

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