#CCCD62#CCCD62

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

Color values

HEX#CCCD62
RGBrgb(204, 205, 98)
HSLhsl(61, 52%, 59%)
HSVhsv(61, 52%, 80%)
CMYKcmyk(0.5%, 0%, 52.2%, 19.6%)
CIE-LABlab(80.39, -14.74, 52.41)
CIE-LCHlch(80.39, 54.45, 105.71°)
OKLaboklab(82.59% -0.0433 0.1228)
OKLCHoklch(82.59% 0.13 109.4)
XYZxyz(48.9389, 57.3830, 20.0510)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD62 #6362CD
analogous
#CD9962 #CCCD62 #97CD62
triadic
#CCCD62 #62CCCD #CD62CC
tetradic
#CCCD62 #62CD99 #6362CD #CD6297
square
#CCCD62 #62CD99 #6362CD #CD6297
split-complementary
#CCCD62 #6297CD #9962CD
monochromatic
#88892C #B6B73A #CCCD62 #DBDC90 #EAEBBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCD62#FFFFFF#000000##000000
##CCCD621.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)
#DBC558
Deuteranopia (green-blind)
#DDC968
Tritanopia (blue-blind)
#D8C2B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd62;
/* rgb */ color: rgb(204, 205, 98);
/* oklch */ color: oklch(82.6% 0.130 109.4);
Tailwind
colors: {
  custom: {
    50: '#dedc92',
    500: '#cccd62',
    950: '#000000',
  },
}
SCSS
$custom: #cccd62;
$custom-light: #dedc92;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd62",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 60.561,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82587,
    "c": 0.13026,
    "h": 109.4
  },
  "luminance": 0.57382
}

Semantic roles & 50–950 ramp

primary
#CCCD62
secondary
#444390
accent
#4DDB4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCD62

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

Preview Lab → · Contrast checker → · Palette generator →

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