#CCD149#CCD149

#CCD149 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.155 H 111.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CCD149
RGBrgb(204, 209, 73)
HSLhsl(62, 60%, 55%)
HSVhsv(62, 65%, 82%)
CMYKcmyk(2.4%, 0%, 65.1%, 18%)
CIE-LABlab(81.25, -18.51, 64.15)
CIE-LCHlch(81.25, 66.77, 106.09°)
OKLaboklab(83.2% -0.0566 0.1446)
OKLCHoklch(83.2% 0.155 111.4)
XYZxyz(48.9064, 58.9205, 15.0986)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD149 #4E49D1
analogous
#D19249 #CCD149 #88D149
triadic
#CCD149 #49CCD1 #D149CC
tetradic
#CCD149 #49D192 #4E49D1 #D14988
square
#CCD149 #49D192 #4E49D1 #D14988
split-complementary
#CCD149 #4988D1 #9249D1
monochromatic
#7C7F20 #ABB02D #CCD149 #DADD7A #E7EAAB

Accessibility & contrast

On white

1.64
#CCD149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CCD149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD149
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD149#FFFFFF#000000##000000
##CCD1491.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C836
Deuteranopia (green-blind)
#E1CC52
Tritanopia (blue-blind)
#D9C5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd149;
/* rgb */ color: rgb(204, 209, 73);
/* oklch */ color: oklch(83.2% 0.155 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfde83',
    500: '#ccd149',
    950: '#000000',
  },
}
SCSS
$custom: #ccd149;
$custom-light: #dfde83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd149",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 73
  },
  "hsl": {
    "h": 62.206,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83197,
    "c": 0.15532,
    "h": 111.4
  },
  "luminance": 0.58919
}

Semantic roles & 50–950 ramp

primary
#CCD149
secondary
#3A3787
accent
#45E34B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD149

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

Preview Lab → · Contrast checker → · Palette generator →

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