#CCD849#CCD849

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

Color values

HEX#CCD849
RGBrgb(204, 216, 73)
HSLhsl(65, 65%, 57%)
HSVhsv(65, 66%, 85%)
CMYKcmyk(5.6%, 0%, 66.2%, 15.3%)
CIE-LABlab(83.14, -21.94, 66.09)
CIE-LCHlch(83.14, 69.64, 108.36°)
OKLaboklab(84.71% -0.0662 0.1487)
OKLCHoklch(84.71% 0.163 114)
XYZxyz(50.6617, 62.4311, 15.6837)
Luminance0.6243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD849 #5549D8
analogous
#D89D49 #CCD849 #85D849
triadic
#CCD849 #49CCD8 #D849CC
tetradic
#CCD849 #49D89D #5549D8 #D84985
square
#CCD849 #49D89D #5549D8 #D84985
split-complementary
#CCD849 #4985D8 #9D49D8
monochromatic
#80891D #AFBC28 #CCD849 #DAE37B #E8EEAE

Accessibility & contrast

On white

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

On black

13.49
#CCD849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD849
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD849#FFFFFF#000000##000000
##CCD8491.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd849;
/* rgb */ color: rgb(204, 216, 73);
/* oklch */ color: oklch(84.7% 0.163 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe383',
    500: '#ccd849',
    950: '#000000',
  },
}
SCSS
$custom: #ccd849;
$custom-light: #dfe383;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd849",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 73
  },
  "hsl": {
    "h": 65.035,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84713,
    "c": 0.16281,
    "h": 114
  },
  "luminance": 0.6243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCD849

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

Preview Lab → · Contrast checker → · Palette generator →

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