#CCD662#CCD662

#CCD662 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.5% C 0.141 H 113.5°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#CCD662
RGBrgb(204, 214, 98)
HSLhsl(65, 59%, 61%)
HSVhsv(65, 54%, 84%)
CMYKcmyk(4.7%, 0%, 54.2%, 16.1%)
CIE-LABlab(82.81, -19.21, 55.20)
CIE-LCHlch(82.81, 58.45, 109.19°)
OKLaboklab(84.52% -0.056 0.1289)
OKLCHoklch(84.52% 0.141 113.5)
XYZxyz(51.1540, 61.8132, 20.7893)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD662 #6C62D6
analogous
#D6A662 #CCD662 #92D662
triadic
#CCD662 #62CCD6 #D662CC
tetradic
#CCD662 #62D6A6 #6C62D6 #D66292
square
#CCD662 #62D6A6 #6C62D6 #D66292
split-complementary
#CCD662 #6292D6 #A662D6
monochromatic
#8D9627 #BAC734 #CCD662 #DCE393 #ECEFC3

Accessibility & contrast

On white

1.57
#CCD662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#CCD662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD662
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD662#FFFFFF#000000##000000
##CCD6621.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E4CF69
Tritanopia (blue-blind)
#D8CBBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd662;
/* rgb */ color: rgb(204, 214, 98);
/* oklch */ color: oklch(84.5% 0.141 113.5);
Tailwind
colors: {
  custom: {
    50: '#dee292',
    500: '#ccd662',
    950: '#000000',
  },
}
SCSS
$custom: #ccd662;
$custom-light: #dee292;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd662",
  "rgb": {
    "r": 204,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 65.172,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84519,
    "c": 0.14051,
    "h": 113.5
  },
  "luminance": 0.61812
}

Semantic roles & 50–950 ramp

primary
#CCD662
secondary
#49419B
accent
#1FC62E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD662

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

Preview Lab → · Contrast checker → · Palette generator →

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