#CCCD47#CCCD47

#CCCD47 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.3% C 0.153 H 109.7°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CCCD47
RGBrgb(204, 205, 71)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0.5%, 0%, 65.4%, 19.6%)
CIE-LABlab(80.16, -16.64, 63.81)
CIE-LCHlch(80.16, 65.95, 104.62°)
OKLaboklab(82.32% -0.0515 0.1436)
OKLCHoklch(82.32% 0.153 109.7)
XYZxyz(47.8720, 56.9563, 14.4319)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD47 #4847CD
analogous
#CD8B47 #CCCD47 #89CD47
triadic
#CCCD47 #47CCCD #CD47CC
tetradic
#CCCD47 #47CD8B #4847CD #CD4789
square
#CCCD47 #47CD8B #4847CD #CD4789
split-complementary
#CCCD47 #4789CD #8B47CD
monochromatic
#787921 #A8A92E #CCCD47 #D9DA77 #E7E7A7

Accessibility & contrast

On white

1.69
#CCCD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CCCD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD47
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD47#FFFFFF#000000##000000
##CCCD471.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC534
Deuteranopia (green-blind)
#DEC950
Tritanopia (blue-blind)
#DAC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd47;
/* rgb */ color: rgb(204, 205, 71);
/* oklch */ color: oklch(82.3% 0.153 109.7);
Tailwind
colors: {
  custom: {
    50: '#dfdc81',
    500: '#cccd47',
    950: '#000000',
  },
}
SCSS
$custom: #cccd47;
$custom-light: #dfdc81;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd47",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 60.448,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82319,
    "c": 0.15259,
    "h": 109.7
  },
  "luminance": 0.56955
}

Semantic roles & 50–950 ramp

primary
#CCCD47
secondary
#383781
accent
#47E148
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCD47

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

Preview Lab → · Contrast checker → · Palette generator →

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