#CCCF5D#CCCF5D

#CCCF5D is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.137 H 110.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CCCF5D
RGBrgb(204, 207, 93)
HSLhsl(62, 54%, 59%)
HSVhsv(62, 55%, 81%)
CMYKcmyk(1.4%, 0%, 55.1%, 18.8%)
CIE-LABlab(80.88, -16.15, 55.26)
CIE-LCHlch(80.88, 57.57, 106.29°)
OKLaboklab(82.96% -0.0478 0.1284)
OKLCHoklch(82.96% 0.137 110.4)
XYZxyz(49.1917, 58.2545, 19.0067)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF5D #605DCF
analogous
#CF995D #CCCF5D #93CF5D
triadic
#CCCF5D #5DCCCF #CF5DCC
tetradic
#CCCF5D #5DCF99 #605DCF #CF5D93
square
#CCCF5D #5DCF99 #605DCF #CF5D93
split-complementary
#CCCF5D #5D93CF #995DCF
monochromatic
#868929 #B5B837 #CCCF5D #DBDD8C #EAEBBB

Accessibility & contrast

On white

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

On black

12.65
#CCCF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF5D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF5D#FFFFFF#000000##000000
##CCCF5D1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccf5d;
/* rgb */ color: rgb(204, 207, 93);
/* oklch */ color: oklch(83.0% 0.137 110.4);
Tailwind
colors: {
  custom: {
    50: '#dedd8f',
    500: '#cccf5d',
    950: '#000000',
  },
}
SCSS
$custom: #cccf5d;
$custom-light: #dedd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf5d",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 61.579,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82958,
    "c": 0.13706,
    "h": 110.4
  },
  "luminance": 0.58253
}

Semantic roles & 50–950 ramp

primary
#CCCF5D
secondary
#434190
accent
#4ADE4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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