#CCCF72#CCCF72

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

Color values

HEX#CCCF72
RGBrgb(204, 207, 114)
HSLhsl(62, 49%, 63%)
HSVhsv(62, 45%, 81%)
CMYKcmyk(1.4%, 0%, 44.9%, 18.8%)
CIE-LABlab(81.11, -14.29, 45.64)
CIE-LCHlch(81.11, 47.82, 107.39°)
OKLaboklab(83.22% -0.0405 0.1094)
OKLCHoklch(83.22% 0.117 110.3)
XYZxyz(50.2528, 58.6789, 24.5953)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF72 #7572CF
analogous
#CFA372 #CCCF72 #9ECF72
triadic
#CCCF72 #72CCCF #CF72CC
tetradic
#CCCF72 #72CFA3 #7572CF #CF729E
square
#CCCF72 #72CFA3 #7572CF #CF729E
split-complementary
#CCCF72 #729ECF #A372CF
monochromatic
#919432 #BBBF44 #CCCF72 #DDDFA0 #EDEECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCF72#FFFFFF#000000##000000
##CCCF721.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)
#DCC86A
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#D7C5B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf72;
/* rgb */ color: rgb(204, 207, 114);
/* oklch */ color: oklch(83.2% 0.117 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddd9c',
    500: '#cccf72',
    950: '#000000',
  },
}
SCSS
$custom: #cccf72;
$custom-light: #dddd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf72",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 61.935,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83221,
    "c": 0.11662,
    "h": 110.3
  },
  "luminance": 0.58678
}

Semantic roles & 50–950 ramp

primary
#CCCF72
secondary
#4E4B9A
accent
#29BD2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCF72

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

Preview Lab → · Contrast checker → · Palette generator →

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