#CCD747#CCD747

#CCD747 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.5% C 0.163 H 113.6°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#CCD747
RGBrgb(204, 215, 71)
HSLhsl(65, 64%, 56%)
HSVhsv(65, 67%, 84%)
CMYKcmyk(5.1%, 0%, 67%, 15.7%)
CIE-LABlab(82.86, -21.57, 66.57)
CIE-LCHlch(82.86, 69.97, 107.95°)
OKLaboklab(84.48% -0.0653 0.1494)
OKLCHoklch(84.48% 0.163 113.6)
XYZxyz(50.3410, 61.8942, 15.2549)
Luminance0.6189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD747 #5247D7
analogous
#D79A47 #CCD747 #84D747
triadic
#CCD747 #47CCD7 #D747CC
tetradic
#CCD747 #47D79A #5247D7 #D74784
square
#CCD747 #47D79A #5247D7 #D74784
split-complementary
#CCD747 #4784D7 #9A47D7
monochromatic
#7E861D #AEB928 #CCD747 #DAE279 #E8EDAC

Accessibility & contrast

On white

1.57
#CCD747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#CCD747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD747
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD747#FFFFFF#000000##000000
##CCD7471.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD31
Deuteranopia (green-blind)
#E6D051
Tritanopia (blue-blind)
#D9CBBA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd747;
/* rgb */ color: rgb(204, 215, 71);
/* oklch */ color: oklch(84.5% 0.163 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe382',
    500: '#ccd747',
    950: '#000000',
  },
}
SCSS
$custom: #ccd747;
$custom-light: #dfe382;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd747",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 71
  },
  "hsl": {
    "h": 64.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8448,
    "c": 0.16309,
    "h": 113.6
  },
  "luminance": 0.61893
}

Semantic roles & 50–950 ramp

primary
#CCD747
secondary
#3C358D
accent
#41E74D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD747

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

Preview Lab → · Contrast checker → · Palette generator →

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