#CCCE57#CCCE57

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

Color values

HEX#CCCE57
RGBrgb(204, 206, 87)
HSLhsl(61, 55%, 57%)
HSVhsv(61, 58%, 81%)
CMYKcmyk(1%, 0%, 57.8%, 19.2%)
CIE-LABlab(80.55, -16.10, 57.57)
CIE-LCHlch(80.55, 59.77, 105.62°)
OKLaboklab(82.68% -0.0483 0.1327)
OKLCHoklch(82.68% 0.141 110)
XYZxyz(48.6948, 57.6693, 17.5811)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE57 #5957CE
analogous
#CE9457 #CCCE57 #91CE57
triadic
#CCCE57 #57CCCE #CE57CC
tetradic
#CCCE57 #57CE94 #5957CE #CE5791
square
#CCCE57 #57CE94 #5957CE #CE5791
split-complementary
#CCCE57 #5791CE #9457CE
monochromatic
#838427 #B1B334 #CCCE57 #DADC86 #E9EAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCE57#FFFFFF#000000##000000
##CCCE571.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)
#DDC64A
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#D9C2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce57;
/* rgb */ color: rgb(204, 206, 87);
/* oklch */ color: oklch(82.7% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#dedc8b',
    500: '#ccce57',
    950: '#000000',
  },
}
SCSS
$custom: #ccce57;
$custom-light: #dedc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce57",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 61.008,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.14119,
    "h": 110
  },
  "luminance": 0.57668
}

Semantic roles & 50–950 ramp

primary
#CCCE57
secondary
#3F3E8B
accent
#4ADE4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCE57

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

Preview Lab → · Contrast checker → · Palette generator →

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