#CCCF5B#CCCF5B

#CCCF5B is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.139 H 110.4°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CCCF5B
RGBrgb(204, 207, 91)
HSLhsl(62, 55%, 58%)
HSVhsv(62, 56%, 81%)
CMYKcmyk(1.4%, 0%, 56%, 18.8%)
CIE-LABlab(80.86, -16.30, 56.14)
CIE-LCHlch(80.86, 58.45, 106.19°)
OKLaboklab(82.94% -0.0485 0.1301)
OKLCHoklch(82.94% 0.139 110.4)
XYZxyz(49.1043, 58.2195, 18.5463)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF5B #5E5BCF
analogous
#CF985B #CCCF5B #92CF5B
triadic
#CCCF5B #5BCCCF #CF5BCC
tetradic
#CCCF5B #5BCF98 #5E5BCF #CF5B92
square
#CCCF5B #5BCF98 #5E5BCF #CF5B92
split-complementary
#CCCF5B #5B92CF #985BCF
monochromatic
#858828 #B4B736 #CCCF5B #DBDD8A #E9EBBA

Accessibility & contrast

On white

1.66
#CCCF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CCCF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF5B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF5B#FFFFFF#000000##000000
##CCCF5B1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#DFCA62
Tritanopia (blue-blind)
#D9C4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf5b;
/* rgb */ color: rgb(204, 207, 91);
/* oklch */ color: oklch(82.9% 0.139 110.4);
Tailwind
colors: {
  custom: {
    50: '#dedd8d',
    500: '#cccf5b',
    950: '#000000',
  },
}
SCSS
$custom: #cccf5b;
$custom-light: #dedd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf5b",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 61.552,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82936,
    "c": 0.13883,
    "h": 110.4
  },
  "luminance": 0.58218
}

Semantic roles & 50–950 ramp

primary
#CCCF5B
secondary
#42408F
accent
#4ADE4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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