#CCCF71#CCCF71

#CCCF71 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.118 H 110.3°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CCCF71
RGBrgb(204, 207, 113)
HSLhsl(62, 49%, 63%)
HSVhsv(62, 45%, 81%)
CMYKcmyk(1.4%, 0%, 45.4%, 18.8%)
CIE-LABlab(81.10, -14.39, 46.11)
CIE-LCHlch(81.10, 48.30, 107.33°)
OKLaboklab(83.21% -0.0408 0.1103)
OKLCHoklch(83.21% 0.118 110.3)
XYZxyz(50.1962, 58.6563, 24.2971)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF71 #7471CF
analogous
#CFA371 #CCCF71 #9DCF71
triadic
#CCCF71 #71CCCF #CF71CC
tetradic
#CCCF71 #71CFA3 #7471CF #CF719D
square
#CCCF71 #71CFA3 #7471CF #CF719D
split-complementary
#CCCF71 #719DCF #A371CF
monochromatic
#919432 #BCC043 #CCCF71 #DCDE9F #EDEECC

Accessibility & contrast

On white

1.65
#CCCF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CCCF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF71
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF71#FFFFFF#000000##000000
##CCCF711.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#D7C5B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf71;
/* rgb */ color: rgb(204, 207, 113);
/* oklch */ color: oklch(83.2% 0.118 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddd9c',
    500: '#cccf71',
    950: '#000000',
  },
}
SCSS
$custom: #cccf71;
$custom-light: #dddd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf71",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 61.915,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83207,
    "c": 0.11766,
    "h": 110.3
  },
  "luminance": 0.58655
}

Semantic roles & 50–950 ramp

primary
#CCCF71
secondary
#4D4B9A
accent
#29BD2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCF71

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

Preview Lab → · Contrast checker → · Palette generator →

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