#CCCF30#CCCF30

#CCCF30 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.6% C 0.168 H 110.7°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CCCF30
RGBrgb(204, 207, 48)
HSLhsl(61, 62%, 50%)
HSVhsv(61, 77%, 81%)
CMYKcmyk(1.4%, 0%, 76.8%, 18.8%)
CIE-LABlab(80.56, -18.72, 72.18)
CIE-LCHlch(80.56, 74.57, 104.54°)
OKLaboklab(82.6% -0.0595 0.1574)
OKLCHoklch(82.6% 0.168 110.7)
XYZxyz(47.7499, 57.6778, 11.4133)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF30 #3330CF
analogous
#CF8230 #CCCF30 #7DCF30
triadic
#CCCF30 #30CCCF #CF30CC
tetradic
#CCCF30 #30CF82 #3330CF #CF307D
square
#CCCF30 #30CF82 #3330CF #CF307D
split-complementary
#CCCF30 #307DCF #8230CF
monochromatic
#6A6C19 #9B9D24 #CCCF30 #D8DB62 #E4E693

Accessibility & contrast

On white

1.68
#CCCF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CCCF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF30
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF30#FFFFFF#000000##000000
##CCCF301.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E1CA3E
Tritanopia (blue-blind)
#DBC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf30;
/* rgb */ color: rgb(204, 207, 48);
/* oklch */ color: oklch(82.6% 0.168 110.7);
Tailwind
colors: {
  custom: {
    50: '#e0dd76',
    500: '#cccf30',
    950: '#000000',
  },
}
SCSS
$custom: #cccf30;
$custom-light: #e0dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf30",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 48
  },
  "hsl": {
    "h": 61.132,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.82599,
    "c": 0.16825,
    "h": 110.7
  },
  "luminance": 0.57676
}

Semantic roles & 50–950 ramp

primary
#CCCF30
secondary
#2F2E75
accent
#42E545
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCCF30

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

Preview Lab → · Contrast checker → · Palette generator →

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