#CCCD57#CCCD57

#CCCD57 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.140 H 109.6°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CCCD57
RGBrgb(204, 205, 87)
HSLhsl(61, 54%, 57%)
HSVhsv(61, 58%, 80%)
CMYKcmyk(0.5%, 0%, 57.6%, 19.6%)
CIE-LABlab(80.29, -15.60, 57.27)
CIE-LCHlch(80.29, 59.35, 105.24°)
OKLaboklab(82.47% -0.0469 0.132)
OKLCHoklch(82.47% 0.14 109.6)
XYZxyz(48.4548, 57.1894, 17.5012)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD57 #5857CD
analogous
#CD9357 #CCCD57 #91CD57
triadic
#CCCD57 #57CCCD #CD57CC
tetradic
#CCCD57 #57CD93 #5857CD #CD5791
square
#CCCD57 #57CD93 #5857CD #CD5791
split-complementary
#CCCD57 #5791CD #9357CD
monochromatic
#828327 #B1B235 #CCCD57 #DADB86 #E9E9B5

Accessibility & contrast

On white

1.69
#CCCD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#CCCD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD57
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD57#FFFFFF#000000##000000
##CCCD571.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#DDC95E
Tritanopia (blue-blind)
#D9C1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd57;
/* rgb */ color: rgb(204, 205, 87);
/* oklch */ color: oklch(82.5% 0.140 109.6);
Tailwind
colors: {
  custom: {
    50: '#dedc8b',
    500: '#cccd57',
    950: '#000000',
  },
}
SCSS
$custom: #cccd57;
$custom-light: #dedc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd57",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 60.508,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82466,
    "c": 0.14011,
    "h": 109.6
  },
  "luminance": 0.57188
}

Semantic roles & 50–950 ramp

primary
#CCCD57
secondary
#3F3E8A
accent
#4ADD4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCD57

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

Preview Lab → · Contrast checker → · Palette generator →

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