#CCCF3F#CCCF3F

#CCCF3F is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.7% C 0.160 H 110.6°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CCCF3F
RGBrgb(204, 207, 63)
HSLhsl(61, 60%, 53%)
HSVhsv(61, 70%, 81%)
CMYKcmyk(1.4%, 0%, 69.6%, 18.8%)
CIE-LABlab(80.64, -18.07, 67.32)
CIE-LCHlch(80.64, 69.70, 105.02°)
OKLaboklab(82.69% -0.0563 0.1497)
OKLCHoklch(82.69% 0.16 110.6)
XYZxyz(48.1135, 57.8232, 13.3282)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF3F #423FCF
analogous
#CF8A3F #CCCF3F #84CF3F
triadic
#CCCF3F #3FCCCF #CF3FCC
tetradic
#CCCF3F #3FCF8A #423FCF #CF3F84
square
#CCCF3F #3FCF8A #423FCF #CF3F84
split-complementary
#CCCF3F #3F84CF #8A3FCF
monochromatic
#74761E #A4A72A #CCCF3F #D9DB70 #E6E7A1

Accessibility & contrast

On white

1.67
#CCCF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CCCF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF3F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF3F#FFFFFF#000000##000000
##CCCF3F1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#E0CA4A
Tritanopia (blue-blind)
#DAC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf3f;
/* rgb */ color: rgb(204, 207, 63);
/* oklch */ color: oklch(82.7% 0.160 110.6);
Tailwind
colors: {
  custom: {
    50: '#dfdd7d',
    500: '#cccf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cccf3f;
$custom-light: #dfdd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf3f",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 61.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8269,
    "c": 0.15996,
    "h": 110.6
  },
  "luminance": 0.57822
}

Semantic roles & 50–950 ramp

primary
#CCCF3F
secondary
#35347F
accent
#45E348
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCCF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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