#CCD949#CCD949

#CCD949 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 84.9% C 0.164 H 114.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CCD949
RGBrgb(204, 217, 73)
HSLhsl(65, 65%, 57%)
HSVhsv(65, 66%, 85%)
CMYKcmyk(6%, 0%, 66.4%, 14.9%)
CIE-LABlab(83.41, -22.42, 66.37)
CIE-LCHlch(83.41, 70.06, 108.67°)
OKLaboklab(84.93% -0.0676 0.1493)
OKLCHoklch(84.93% 0.164 114.3)
XYZxyz(50.9186, 62.9450, 15.7693)
Luminance0.6294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD949 #5649D9
analogous
#D99E49 #CCD949 #84D949
triadic
#CCD949 #49CCD9 #D949CC
tetradic
#CCD949 #49D99E #5649D9 #D94984
square
#CCD949 #49D99E #5649D9 #D94984
split-complementary
#CCD949 #4984D9 #9E49D9
monochromatic
#818B1D #B0BD28 #CCD949 #DAE47C #E8EEAE

Accessibility & contrast

On white

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

On black

13.59
#CCD949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD949
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD949#FFFFFF#000000##000000
##CCD9491.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF34
Deuteranopia (green-blind)
#E8D153
Tritanopia (blue-blind)
#D9CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd949;
/* rgb */ color: rgb(204, 217, 73);
/* oklch */ color: oklch(84.9% 0.164 114.3);
Tailwind
colors: {
  custom: {
    50: '#dfe483',
    500: '#ccd949',
    950: '#000000',
  },
}
SCSS
$custom: #ccd949;
$custom-light: #dfe483;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd949",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 73
  },
  "hsl": {
    "h": 65.417,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8493,
    "c": 0.1639,
    "h": 114.3
  },
  "luminance": 0.62944
}

Semantic roles & 50–950 ramp

primary
#CCD949
secondary
#3E3691
accent
#3FE84F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD949

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

Preview Lab → · Contrast checker → · Palette generator →

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