#CCCF4D#CCCF4D

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

Color values

HEX#CCCF4D
RGBrgb(204, 207, 77)
HSLhsl(61, 58%, 56%)
HSVhsv(61, 63%, 81%)
CMYKcmyk(1.4%, 0%, 62.8%, 18.8%)
CIE-LABlab(80.74, -17.27, 62.01)
CIE-LCHlch(80.74, 64.37, 105.57°)
OKLaboklab(82.8% -0.0527 0.1407)
OKLCHoklch(82.8% 0.15 110.5)
XYZxyz(48.5557, 58.0001, 15.6571)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF4D #504DCF
analogous
#CF914D #CCCF4D #8BCF4D
triadic
#CCCF4D #4DCCCF #CF4DCC
tetradic
#CCCF4D #4DCF91 #504DCF #CF4D8B
square
#CCCF4D #4DCF91 #504DCF #CF4D8B
split-complementary
#CCCF4D #4D8BCF #914DCF
monochromatic
#7D7F22 #ADAF2F #CCCF4D #DADC7D #E8E9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCF4D#FFFFFF#000000##000000
##CCCF4D1.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)
#DEC63C
Deuteranopia (green-blind)
#E0CA55
Tritanopia (blue-blind)
#D9C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf4d;
/* rgb */ color: rgb(204, 207, 77);
/* oklch */ color: oklch(82.8% 0.150 110.5);
Tailwind
colors: {
  custom: {
    50: '#dfdd85',
    500: '#cccf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cccf4d;
$custom-light: #dfdd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf4d",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 61.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.828,
    "c": 0.15028,
    "h": 110.5
  },
  "luminance": 0.57999
}

Semantic roles & 50–950 ramp

primary
#CCCF4D
secondary
#3B3987
accent
#47E14B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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