#CCCE56#CCCE56

#CCCE56 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.142 H 110.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CCCE56
RGBrgb(204, 206, 86)
HSLhsl(61, 55%, 57%)
HSVhsv(61, 58%, 81%)
CMYKcmyk(1%, 0%, 58.3%, 19.2%)
CIE-LABlab(80.55, -16.17, 57.99)
CIE-LCHlch(80.55, 60.21, 105.58°)
OKLaboklab(82.67% -0.0486 0.1334)
OKLCHoklch(82.67% 0.142 110)
XYZxyz(48.6542, 57.6531, 17.3675)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE56 #5856CE
analogous
#CE9456 #CCCE56 #90CE56
triadic
#CCCE56 #56CCCE #CE56CC
tetradic
#CCCE56 #56CE94 #5856CE #CE5690
square
#CCCE56 #56CE94 #5856CE #CE5690
split-complementary
#CCCE56 #5690CE #9456CE
monochromatic
#828326 #B1B334 #CCCE56 #DADC85 #E9EAB5

Accessibility & contrast

On white

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

On black

12.53
#CCCE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE56
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE56#FFFFFF#000000##000000
##CCCE561.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccce56;
/* rgb */ color: rgb(204, 206, 86);
/* oklch */ color: oklch(82.7% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#dedc8a',
    500: '#ccce56',
    950: '#000000',
  },
}
SCSS
$custom: #ccce56;
$custom-light: #dedc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce56",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 86
  },
  "hsl": {
    "h": 61,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8267,
    "c": 0.14203,
    "h": 110
  },
  "luminance": 0.57652
}

Semantic roles & 50–950 ramp

primary
#CCCE56
secondary
#3F3E8B
accent
#49DE4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCE56

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

Preview Lab → · Contrast checker → · Palette generator →

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