#CCD848#CCD848

#CCD848 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.7% C 0.164 H 114.0°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#CCD848
RGBrgb(204, 216, 72)
HSLhsl(65, 65%, 56%)
HSVhsv(65, 67%, 85%)
CMYKcmyk(5.6%, 0%, 66.7%, 15.3%)
CIE-LABlab(83.14, -21.99, 66.47)
CIE-LCHlch(83.14, 70.01, 108.31°)
OKLaboklab(84.71% -0.0665 0.1494)
OKLCHoklch(84.71% 0.164 114)
XYZxyz(50.6288, 62.4179, 15.5105)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD848 #5448D8
analogous
#D89C48 #CCD848 #84D848
triadic
#CCD848 #48CCD8 #D848CC
tetradic
#CCD848 #48D89C #5448D8 #D84884
square
#CCD848 #48D89C #5448D8 #D84884
split-complementary
#CCD848 #4884D8 #9C48D8
monochromatic
#80891D #AFBB28 #CCD848 #DAE37A #E8EEAD

Accessibility & contrast

On white

1.56
#CCD848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#CCD848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD848
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD848#FFFFFF#000000##000000
##CCD8481.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE33
Deuteranopia (green-blind)
#E7D052
Tritanopia (blue-blind)
#D9CCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd848;
/* rgb */ color: rgb(204, 216, 72);
/* oklch */ color: oklch(84.7% 0.164 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe383',
    500: '#ccd848',
    950: '#000000',
  },
}
SCSS
$custom: #ccd848;
$custom-light: #dfe383;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd848",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 65,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84705,
    "c": 0.1635,
    "h": 114
  },
  "luminance": 0.62417
}

Semantic roles & 50–950 ramp

primary
#CCD848
secondary
#3D368F
accent
#40E84E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD848

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

Preview Lab → · Contrast checker → · Palette generator →

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