#CCD247#CCD247

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

Color values

HEX#CCD247
RGBrgb(204, 210, 71)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 66%, 82%)
CMYKcmyk(2.9%, 0%, 66.2%, 17.6%)
CIE-LABlab(81.50, -19.12, 65.19)
CIE-LCHlch(81.50, 67.94, 106.34°)
OKLaboklab(83.4% -0.0585 0.1465)
OKLCHoklch(83.4% 0.158 111.8)
XYZxyz(49.0872, 59.3867, 14.8370)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD247 #4D47D2
analogous
#D29347 #CCD247 #86D247
triadic
#CCD247 #47CCD2 #D247CC
tetradic
#CCD247 #47D293 #4D47D2 #D24786
square
#CCD247 #47D293 #4D47D2 #D24786
split-complementary
#CCD247 #4786D2 #9347D2
monochromatic
#7B7F1F #ABB12B #CCD247 #DADE78 #E7EAA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD247#FFFFFF#000000##000000
##CCD2471.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)
#E2C933
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#D9C6B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd247;
/* rgb */ color: rgb(204, 210, 71);
/* oklch */ color: oklch(83.4% 0.158 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf82',
    500: '#ccd247',
    950: '#000000',
  },
}
SCSS
$custom: #ccd247;
$custom-light: #dfdf82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd247",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 71
  },
  "hsl": {
    "h": 62.59,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83397,
    "c": 0.15778,
    "h": 111.8
  },
  "luminance": 0.59385
}

Semantic roles & 50–950 ramp

primary
#CCD247
secondary
#3A3687
accent
#44E44B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD247

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

Preview Lab → · Contrast checker → · Palette generator →

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