#CCCF5F#CCCF5F

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

Color values

HEX#CCCF5F
RGBrgb(204, 207, 95)
HSLhsl(62, 54%, 59%)
HSVhsv(62, 54%, 81%)
CMYKcmyk(1.4%, 0%, 54.1%, 18.8%)
CIE-LABlab(80.90, -15.99, 54.37)
CIE-LCHlch(80.90, 56.68, 106.39°)
OKLaboklab(82.98% -0.0472 0.1268)
OKLCHoklch(82.98% 0.135 110.4)
XYZxyz(49.2814, 58.2904, 19.4794)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF5F #625FCF
analogous
#CF9A5F #CCCF5F #94CF5F
triadic
#CCCF5F #5FCCCF #CF5FCC
tetradic
#CCCF5F #5FCF9A #625FCF #CF5F94
square
#CCCF5F #5FCF9A #625FCF #CF5F94
split-complementary
#CCCF5F #5F94CF #9A5FCF
monochromatic
#888A29 #B6B938 #CCCF5F #DBDD8E #EAEBBD

Accessibility & contrast

On white

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

On black

12.66
#CCCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF5F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF5F#FFFFFF#000000##000000
##CCCF5F1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#DECB65
Tritanopia (blue-blind)
#D8C4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf5f;
/* rgb */ color: rgb(204, 207, 95);
/* oklch */ color: oklch(83.0% 0.135 110.4);
Tailwind
colors: {
  custom: {
    50: '#dedd90',
    500: '#cccf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cccf5f;
$custom-light: #dedd90;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf5f",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 61.607,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8298,
    "c": 0.13526,
    "h": 110.4
  },
  "luminance": 0.58289
}

Semantic roles & 50–950 ramp

primary
#CCCF5F
secondary
#444191
accent
#4BDD4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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