#CCCF5A#CCCF5A

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

Color values

HEX#CCCF5A
RGBrgb(204, 207, 90)
HSLhsl(62, 55%, 58%)
HSVhsv(62, 57%, 81%)
CMYKcmyk(1.4%, 0%, 56.5%, 18.8%)
CIE-LABlab(80.85, -16.38, 56.57)
CIE-LCHlch(80.85, 58.89, 106.14°)
OKLaboklab(82.93% -0.0488 0.1309)
OKLCHoklch(82.93% 0.14 110.4)
XYZxyz(49.0614, 58.2024, 18.3206)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF5A #5D5ACF
analogous
#CF975A #CCCF5A #92CF5A
triadic
#CCCF5A #5ACCCF #CF5ACC
tetradic
#CCCF5A #5ACF97 #5D5ACF #CF5A92
square
#CCCF5A #5ACF97 #5D5ACF #CF5A92
split-complementary
#CCCF5A #5A92CF #975ACF
monochromatic
#858727 #B3B735 #CCCF5A #DBDD89 #E9EBB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCF5A#FFFFFF#000000##000000
##CCCF5A1.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)
#DEC74D
Deuteranopia (green-blind)
#DFCA61
Tritanopia (blue-blind)
#D9C3B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf5a;
/* rgb */ color: rgb(204, 207, 90);
/* oklch */ color: oklch(82.9% 0.140 110.4);
Tailwind
colors: {
  custom: {
    50: '#dedd8d',
    500: '#cccf5a',
    950: '#000000',
  },
}
SCSS
$custom: #cccf5a;
$custom-light: #dedd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf5a",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 61.538,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82926,
    "c": 0.1397,
    "h": 110.4
  },
  "luminance": 0.58201
}

Semantic roles & 50–950 ramp

primary
#CCCF5A
secondary
#413F8E
accent
#4ADE4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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