#CCCF73#CCCF73

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

Color values

HEX#CCCF73
RGBrgb(204, 207, 115)
HSLhsl(62, 49%, 63%)
HSVhsv(62, 44%, 81%)
CMYKcmyk(1.4%, 0%, 44.4%, 18.8%)
CIE-LABlab(81.13, -14.19, 45.16)
CIE-LCHlch(81.13, 47.34, 107.45°)
OKLaboklab(83.24% -0.0401 0.1084)
OKLCHoklch(83.24% 0.116 110.3)
XYZxyz(50.3100, 58.7018, 24.8967)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF73 #7673CF
analogous
#CFA473 #CCCF73 #9ECF73
triadic
#CCCF73 #73CCCF #CF73CC
tetradic
#CCCF73 #73CFA4 #7673CF #CF739E
square
#CCCF73 #73CFA4 #7673CF #CF739E
split-complementary
#CCCF73 #739ECF #A473CF
monochromatic
#919533 #BBBF45 #CCCF73 #DDDFA1 #EDEECE

Accessibility & contrast

On white

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

On black

12.74
#CCCF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF73
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF73#FFFFFF#000000##000000
##CCCF731.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccf73;
/* rgb */ color: rgb(204, 207, 115);
/* oklch */ color: oklch(83.2% 0.116 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddd9d',
    500: '#cccf73',
    950: '#000000',
  },
}
SCSS
$custom: #cccf73;
$custom-light: #dddd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf73",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 115
  },
  "hsl": {
    "h": 61.957,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83235,
    "c": 0.11556,
    "h": 110.3
  },
  "luminance": 0.58701
}

Semantic roles & 50–950 ramp

primary
#CCCF73
secondary
#4E4C9B
accent
#29BC2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCF73

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

Preview Lab → · Contrast checker → · Palette generator →

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