#CCCF4C#CCCF4C

#CCCF4C is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.8% C 0.151 H 110.5°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CCCF4C
RGBrgb(204, 207, 76)
HSLhsl(61, 58%, 55%)
HSVhsv(61, 63%, 81%)
CMYKcmyk(1.4%, 0%, 63.3%, 18.8%)
CIE-LABlab(80.73, -17.34, 62.41)
CIE-LCHlch(80.73, 64.77, 105.53°)
OKLaboklab(82.79% -0.053 0.1414)
OKLCHoklch(82.79% 0.151 110.5)
XYZxyz(48.5206, 57.9861, 15.4726)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF4C #4F4CCF
analogous
#CF904C #CCCF4C #8ACF4C
triadic
#CCCF4C #4CCCCF #CF4CCC
tetradic
#CCCF4C #4CCF90 #4F4CCF #CF4C8A
square
#CCCF4C #4CCF90 #4F4CCF #CF4C8A
split-complementary
#CCCF4C #4C8ACF #904CCF
monochromatic
#7D7F22 #ACAF2F #CCCF4C #DADC7C #E7E9AD

Accessibility & contrast

On white

1.67
#CCCF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#CCCF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF4C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF4C#FFFFFF#000000##000000
##CCCF4C1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E0CA54
Tritanopia (blue-blind)
#D9C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf4c;
/* rgb */ color: rgb(204, 207, 76);
/* oklch */ color: oklch(82.8% 0.151 110.5);
Tailwind
colors: {
  custom: {
    50: '#dfdd84',
    500: '#cccf4c',
    950: '#000000',
  },
}
SCSS
$custom: #cccf4c;
$custom-light: #dfdd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf4c",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 61.374,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82791,
    "c": 0.15103,
    "h": 110.5
  },
  "luminance": 0.57985
}

Semantic roles & 50–950 ramp

primary
#CCCF4C
secondary
#3B3986
accent
#47E14A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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