#CCCC73#CCCC73

#CCCC73 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.112 H 108.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CCCC73
RGBrgb(204, 204, 115)
HSLhsl(60, 47%, 63%)
HSVhsv(60, 44%, 80%)
CMYKcmyk(0%, 0%, 43.6%, 20%)
CIE-LABlab(80.33, -12.68, 44.18)
CIE-LCHlch(80.33, 45.96, 106.02°)
OKLaboklab(82.6% -0.0358 0.1062)
OKLCHoklch(82.6% 0.112 108.6)
XYZxyz(49.5901, 57.2620, 24.6567)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC73 #7373CC
analogous
#CC9F73 #CCCC73 #9FCC73
triadic
#CCCC73 #73CCCC #CC73CC
tetradic
#CCCC73 #73CC9F #7373CC #CC739F
square
#CCCC73 #73CC9F #7373CC #CC739F
split-complementary
#CCCC73 #739FCC #9F73CC
monochromatic
#909034 #BCBC46 #CCCC73 #DCDCA0 #EDEDCD

Accessibility & contrast

On white

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

On black

12.45
#CCCC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC73
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC73#FFFFFF#000000##000000
##CCCC731.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56C
Deuteranopia (green-blind)
#DAC977
Tritanopia (blue-blind)
#D7C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc73;
/* rgb */ color: rgb(204, 204, 115);
/* oklch */ color: oklch(82.6% 0.112 108.6);
Tailwind
colors: {
  custom: {
    50: '#dddb9d',
    500: '#cccc73',
    950: '#000000',
  },
}
SCSS
$custom: #cccc73;
$custom-light: #dddb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc73",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82598,
    "c": 0.11206,
    "h": 108.6
  },
  "luminance": 0.57261
}

Semantic roles & 50–950 ramp

primary
#CCCC73
secondary
#4D4D97
accent
#2CBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCC73

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

Preview Lab → · Contrast checker → · Palette generator →

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