#CCCE52#CCCE52

#CCCE52 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.6% C 0.145 H 110.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CCCE52
RGBrgb(204, 206, 82)
HSLhsl(61, 56%, 56%)
HSVhsv(61, 60%, 81%)
CMYKcmyk(1%, 0%, 60.2%, 19.2%)
CIE-LABlab(80.51, -16.45, 59.68)
CIE-LCHlch(80.51, 61.90, 105.41°)
OKLaboklab(82.63% -0.0499 0.1365)
OKLCHoklch(82.63% 0.145 110.1)
XYZxyz(48.4975, 57.5904, 16.5423)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE52 #5452CE
analogous
#CE9252 #CCCE52 #8ECE52
triadic
#CCCE52 #52CCCE #CE52CC
tetradic
#CCCE52 #52CE92 #5452CE #CE528E
square
#CCCE52 #52CE92 #5452CE #CE528E
split-complementary
#CCCE52 #528ECE #9252CE
monochromatic
#808125 #AFB132 #CCCE52 #DADC82 #E8E9B1

Accessibility & contrast

On white

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

On black

12.52
#CCCE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE52
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE52#FFFFFF#000000##000000
##CCCE521.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DECA5A
Tritanopia (blue-blind)
#D9C2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce52;
/* rgb */ color: rgb(204, 206, 82);
/* oklch */ color: oklch(82.6% 0.145 110.1);
Tailwind
colors: {
  custom: {
    50: '#dedc88',
    500: '#ccce52',
    950: '#000000',
  },
}
SCSS
$custom: #ccce52;
$custom-light: #dedc88;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce52",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 60.968,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82631,
    "c": 0.14531,
    "h": 110.1
  },
  "luminance": 0.57589
}

Semantic roles & 50–950 ramp

primary
#CCCE52
secondary
#3D3C88
accent
#49DF4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCE52

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

Preview Lab → · Contrast checker → · Palette generator →

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