#CCCF47#CCCF47

#CCCF47 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.155 H 110.6°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CCCF47
RGBrgb(204, 207, 71)
HSLhsl(61, 59%, 55%)
HSVhsv(61, 66%, 81%)
CMYKcmyk(1.4%, 0%, 65.7%, 18.8%)
CIE-LABlab(80.69, -17.64, 64.36)
CIE-LCHlch(80.69, 66.74, 105.32°)
OKLaboklab(82.75% -0.0543 0.1448)
OKLCHoklch(82.75% 0.155 110.6)
XYZxyz(48.3535, 57.9192, 14.5924)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF47 #4A47CF
analogous
#CF8E47 #CCCF47 #88CF47
triadic
#CCCF47 #47CCCF #CF47CC
tetradic
#CCCF47 #47CF8E #4A47CF #CF4788
square
#CCCF47 #47CF8E #4A47CF #CF4788
split-complementary
#CCCF47 #4788CF #8E47CF
monochromatic
#797B20 #A9AC2D #CCCF47 #D9DC78 #E7E8A8

Accessibility & contrast

On white

1.67
#CCCF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#CCCF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF47
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF47#FFFFFF#000000##000000
##CCCF471.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC634
Deuteranopia (green-blind)
#E0CA50
Tritanopia (blue-blind)
#DAC3B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf47;
/* rgb */ color: rgb(204, 207, 71);
/* oklch */ color: oklch(82.8% 0.155 110.6);
Tailwind
colors: {
  custom: {
    50: '#dfdd81',
    500: '#cccf47',
    950: '#000000',
  },
}
SCSS
$custom: #cccf47;
$custom-light: #dfdd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf47",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 61.324,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8275,
    "c": 0.15465,
    "h": 110.6
  },
  "luminance": 0.57918
}

Semantic roles & 50–950 ramp

primary
#CCCF47
secondary
#393783
accent
#46E249
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCF47

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

Preview Lab → · Contrast checker → · Palette generator →

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