#CCD249#CCD249

#CCD249 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.156 H 111.8°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CCD249
RGBrgb(204, 210, 73)
HSLhsl(63, 60%, 55%)
HSVhsv(63, 65%, 82%)
CMYKcmyk(2.9%, 0%, 65.2%, 17.6%)
CIE-LABlab(81.52, -19.00, 64.43)
CIE-LCHlch(81.52, 67.17, 106.43°)
OKLaboklab(83.41% -0.058 0.1452)
OKLCHoklch(83.41% 0.156 111.8)
XYZxyz(49.1525, 59.4128, 15.1806)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD249 #4F49D2
analogous
#D29449 #CCD249 #87D249
triadic
#CCD249 #49CCD2 #D249CC
tetradic
#CCD249 #49D294 #4F49D2 #D24987
square
#CCD249 #49D294 #4F49D2 #D24987
split-complementary
#CCD249 #4987D2 #9449D2
monochromatic
#7D8120 #ACB22C #CCD249 #DADE7A #E7EAAB

Accessibility & contrast

On white

1.63
#CCD249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CCD249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD249
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD249#FFFFFF#000000##000000
##CCD2491.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C936
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#D9C6B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd249;
/* rgb */ color: rgb(204, 210, 73);
/* oklch */ color: oklch(83.4% 0.156 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf83',
    500: '#ccd249',
    950: '#000000',
  },
}
SCSS
$custom: #ccd249;
$custom-light: #dfdf83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd249",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 73
  },
  "hsl": {
    "h": 62.628,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83413,
    "c": 0.15638,
    "h": 111.8
  },
  "luminance": 0.59412
}

Semantic roles & 50–950 ramp

primary
#CCD249
secondary
#3B3788
accent
#44E34B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD249

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

Preview Lab → · Contrast checker → · Palette generator →

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