#CCCE45#CCCE45

#CCCE45 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.5% C 0.155 H 110.2°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CCCE45
RGBrgb(204, 206, 69)
HSLhsl(61, 58%, 54%)
HSVhsv(61, 67%, 81%)
CMYKcmyk(1%, 0%, 66.5%, 19.2%)
CIE-LABlab(80.41, -17.25, 64.85)
CIE-LCHlch(80.41, 67.11, 104.90°)
OKLaboklab(82.52% -0.0535 0.1455)
OKLCHoklch(82.52% 0.155 110.2)
XYZxyz(48.0489, 57.4110, 14.1794)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE45 #4745CE
analogous
#CE8C45 #CCCE45 #88CE45
triadic
#CCCE45 #45CCCE #CE45CC
tetradic
#CCCE45 #45CE8C #4745CE #CE4588
square
#CCCE45 #45CE8C #4745CE #CE4588
split-complementary
#CCCE45 #4588CE #8C45CE
monochromatic
#777920 #A7A92D #CCCE45 #D9DB75 #E7E8A6

Accessibility & contrast

On white

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

On black

12.48
#CCCE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE45
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE45#FFFFFF#000000##000000
##CCCE451.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC531
Deuteranopia (green-blind)
#DFC94E
Tritanopia (blue-blind)
#DAC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccce45;
/* rgb */ color: rgb(204, 206, 69);
/* oklch */ color: oklch(82.5% 0.155 110.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc80',
    500: '#ccce45',
    950: '#000000',
  },
}
SCSS
$custom: #ccce45;
$custom-light: #dfdc80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce45",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 60.876,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82518,
    "c": 0.155,
    "h": 110.2
  },
  "luminance": 0.5741
}

Semantic roles & 50–950 ramp

primary
#CCCE45
secondary
#373681
accent
#46E249
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCE45

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

Preview Lab → · Contrast checker → · Palette generator →

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