#CCCF5C#CCCF5C

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

Color values

HEX#CCCF5C
RGBrgb(204, 207, 92)
HSLhsl(62, 55%, 59%)
HSVhsv(62, 56%, 81%)
CMYKcmyk(1.4%, 0%, 55.6%, 18.8%)
CIE-LABlab(80.87, -16.22, 55.70)
CIE-LCHlch(80.87, 58.01, 106.24°)
OKLaboklab(82.95% -0.0482 0.1293)
OKLCHoklch(82.95% 0.138 110.4)
XYZxyz(49.1477, 58.2369, 18.7750)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF5C #5F5CCF
analogous
#CF985C #CCCF5C #92CF5C
triadic
#CCCF5C #5CCCCF #CF5CCC
tetradic
#CCCF5C #5CCF98 #5F5CCF #CF5C92
square
#CCCF5C #5CCF98 #5F5CCF #CF5C92
split-complementary
#CCCF5C #5C92CF #985CCF
monochromatic
#868828 #B4B836 #CCCF5C #DBDD8B #EAEBBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCF5C#FFFFFF#000000##000000
##CCCF5C1.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)
#DEC750
Deuteranopia (green-blind)
#DFCA62
Tritanopia (blue-blind)
#D9C4B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf5c;
/* rgb */ color: rgb(204, 207, 92);
/* oklch */ color: oklch(82.9% 0.138 110.4);
Tailwind
colors: {
  custom: {
    50: '#dedd8e',
    500: '#cccf5c',
    950: '#000000',
  },
}
SCSS
$custom: #cccf5c;
$custom-light: #dedd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf5c",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 61.565,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82947,
    "c": 0.13795,
    "h": 110.4
  },
  "luminance": 0.58236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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