#CCCC71#CCCC71

#CCCC71 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.114 H 108.7°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CCCC71
RGBrgb(204, 204, 113)
HSLhsl(60, 47%, 62%)
HSVhsv(60, 45%, 80%)
CMYKcmyk(0%, 0%, 44.6%, 20%)
CIE-LABlab(80.30, -12.88, 45.13)
CIE-LCHlch(80.30, 46.93, 105.93°)
OKLaboklab(82.57% -0.0365 0.1082)
OKLCHoklch(82.57% 0.114 108.7)
XYZxyz(49.4763, 57.2165, 24.0572)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC71 #7171CC
analogous
#CC9F71 #CCCC71 #9FCC71
triadic
#CCCC71 #71CCCC #CC71CC
tetradic
#CCCC71 #71CC9F #7171CC #CC719F
square
#CCCC71 #71CC9F #7171CC #CC719F
split-complementary
#CCCC71 #719FCC #9F71CC
monochromatic
#8F8F33 #BCBC44 #CCCC71 #DCDC9E #ECECCB

Accessibility & contrast

On white

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

On black

12.44
#CCCC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC71
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC71#FFFFFF#000000##000000
##CCCC711.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C569
Deuteranopia (green-blind)
#DAC975
Tritanopia (blue-blind)
#D7C2B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc71;
/* rgb */ color: rgb(204, 204, 113);
/* oklch */ color: oklch(82.6% 0.114 108.7);
Tailwind
colors: {
  custom: {
    50: '#dddb9b',
    500: '#cccc71',
    950: '#000000',
  },
}
SCSS
$custom: #cccc71;
$custom-light: #dddb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc71",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82569,
    "c": 0.11417,
    "h": 108.7
  },
  "luminance": 0.57215
}

Semantic roles & 50–950 ramp

primary
#CCCC71
secondary
#4B4B96
accent
#2BBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCC71

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

Preview Lab → · Contrast checker → · Palette generator →

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