#CCD147#CCD147

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

Color values

HEX#CCD147
RGBrgb(204, 209, 71)
HSLhsl(62, 60%, 55%)
HSVhsv(62, 66%, 82%)
CMYKcmyk(2.4%, 0%, 66%, 18%)
CIE-LABlab(81.23, -18.63, 64.92)
CIE-LCHlch(81.23, 67.54, 106.01°)
OKLaboklab(83.18% -0.0571 0.146)
OKLCHoklch(83.18% 0.157 111.4)
XYZxyz(48.8411, 58.8944, 14.7549)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD147 #4C47D1
analogous
#D19147 #CCD147 #87D147
triadic
#CCD147 #47CCD1 #D147CC
tetradic
#CCD147 #47D191 #4C47D1 #D14787
square
#CCD147 #47D191 #4C47D1 #D14787
split-complementary
#CCD147 #4787D1 #9147D1
monochromatic
#7B7E20 #AAAF2C #CCD147 #DADD78 #E7E9A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD147#FFFFFF#000000##000000
##CCD1471.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)
#E1C833
Deuteranopia (green-blind)
#E1CC51
Tritanopia (blue-blind)
#DAC5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd147;
/* rgb */ color: rgb(204, 209, 71);
/* oklch */ color: oklch(83.2% 0.157 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfde82',
    500: '#ccd147',
    950: '#000000',
  },
}
SCSS
$custom: #ccd147;
$custom-light: #dfde82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd147",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 71
  },
  "hsl": {
    "h": 62.174,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83181,
    "c": 0.15673,
    "h": 111.4
  },
  "luminance": 0.58893
}

Semantic roles & 50–950 ramp

primary
#CCD147
secondary
#393786
accent
#45E34A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD147

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

Preview Lab → · Contrast checker → · Palette generator →

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