#CCD562#CCD562

#CCD562 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.3% C 0.139 H 113.1°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#CCD562
RGBrgb(204, 213, 98)
HSLhsl(65, 58%, 61%)
HSVhsv(65, 54%, 84%)
CMYKcmyk(4.2%, 0%, 54%, 16.5%)
CIE-LABlab(82.54, -18.72, 54.89)
CIE-LCHlch(82.54, 58.00, 108.83°)
OKLaboklab(84.3% -0.0546 0.1282)
OKLCHoklch(84.3% 0.139 113.1)
XYZxyz(50.9017, 61.3086, 20.7052)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD562 #6B62D5
analogous
#D5A462 #CCD562 #92D562
triadic
#CCD562 #62CCD5 #D562CC
tetradic
#CCD562 #62D5A4 #6B62D5 #D56292
square
#CCD562 #62D5A4 #6B62D5 #D56292
split-complementary
#CCD562 #6292D5 #A462D5
monochromatic
#8C9528 #BAC535 #CCD562 #DCE292 #EBEFC3

Accessibility & contrast

On white

1.58
#CCD562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#CCD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD562
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD562#FFFFFF#000000##000000
##CCD5621.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#E3CF68
Tritanopia (blue-blind)
#D8CABC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd562;
/* rgb */ color: rgb(204, 213, 98);
/* oklch */ color: oklch(84.3% 0.139 113.1);
Tailwind
colors: {
  custom: {
    50: '#dee192',
    500: '#ccd562',
    950: '#000000',
  },
}
SCSS
$custom: #ccd562;
$custom-light: #dee192;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd562",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 64.696,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84303,
    "c": 0.13934,
    "h": 113.1
  },
  "luminance": 0.61308
}

Semantic roles & 50–950 ramp

primary
#CCD562
secondary
#48419A
accent
#20C52D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD562

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

Preview Lab → · Contrast checker → · Palette generator →

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