#CCCE46#CCCE46

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

Color values

HEX#CCCE46
RGBrgb(204, 206, 70)
HSLhsl(61, 58%, 54%)
HSVhsv(61, 66%, 81%)
CMYKcmyk(1%, 0%, 66%, 19.2%)
CIE-LABlab(80.42, -17.20, 64.47)
CIE-LCHlch(80.42, 66.72, 104.94°)
OKLaboklab(82.53% -0.0532 0.1449)
OKLCHoklch(82.53% 0.154 110.2)
XYZxyz(48.0802, 57.4235, 14.3443)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE46 #4846CE
analogous
#CE8C46 #CCCE46 #88CE46
triadic
#CCCE46 #46CCCE #CE46CC
tetradic
#CCCE46 #46CE8C #4846CE #CE4688
square
#CCCE46 #46CE8C #4846CE #CE4688
split-complementary
#CCCE46 #4688CE #8C46CE
monochromatic
#787920 #A8AA2D #CCCE46 #D9DB76 #E7E8A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCE46#FFFFFF#000000##000000
##CCCE461.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)
#DEC532
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#DAC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccce46;
/* rgb */ color: rgb(204, 206, 70);
/* oklch */ color: oklch(82.5% 0.154 110.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc81',
    500: '#ccce46',
    950: '#000000',
  },
}
SCSS
$custom: #ccce46;
$custom-light: #dfdc81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce46",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 70
  },
  "hsl": {
    "h": 60.882,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82526,
    "c": 0.15431,
    "h": 110.2
  },
  "luminance": 0.57422
}

Semantic roles & 50–950 ramp

primary
#CCCE46
secondary
#383782
accent
#46E149
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCE46

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

Preview Lab → · Contrast checker → · Palette generator →

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