#CCD062#CCD062

#CCD062 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.2% C 0.134 H 110.9°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#CCD062
RGBrgb(204, 208, 98)
HSLhsl(62, 54%, 60%)
HSVhsv(62, 53%, 82%)
CMYKcmyk(1.9%, 0%, 52.9%, 18.4%)
CIE-LABlab(81.20, -16.24, 53.34)
CIE-LCHlch(81.20, 55.76, 106.93°)
OKLaboklab(83.23% -0.0476 0.1249)
OKLCHoklch(83.23% 0.134 110.9)
XYZxyz(49.6635, 58.8320, 20.2925)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD062 #6662D0
analogous
#D09D62 #CCD062 #95D062
triadic
#CCD062 #62CCD0 #D062CC
tetradic
#CCD062 #62D09D #6662D0 #D06295
square
#CCD062 #62D09D #6662D0 #D06295
split-complementary
#CCD062 #6295D0 #9D62D0
monochromatic
#8A8D2A #B8BC38 #CCD062 #DBDE91 #EBECC0

Accessibility & contrast

On white

1.64
#CCD062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#CCD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD062
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD062#FFFFFF#000000##000000
##CCD0621.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#DFCB68
Tritanopia (blue-blind)
#D8C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd062;
/* rgb */ color: rgb(204, 208, 98);
/* oklch */ color: oklch(83.2% 0.134 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede92',
    500: '#ccd062',
    950: '#000000',
  },
}
SCSS
$custom: #ccd062;
$custom-light: #dede92;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd062",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 62.182,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.83229,
    "c": 0.13361,
    "h": 110.9
  },
  "luminance": 0.58831
}

Semantic roles & 50–950 ramp

primary
#CCD062
secondary
#464394
accent
#4BDD50
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD062

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

Preview Lab → · Contrast checker → · Palette generator →

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