#CCD06C#CCD06C

#CCD06C is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.124 H 110.8°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CCD06C
RGBrgb(204, 208, 108)
HSLhsl(62, 52%, 62%)
HSVhsv(62, 48%, 82%)
CMYKcmyk(1.9%, 0%, 48.1%, 18.4%)
CIE-LABlab(81.31, -15.37, 48.77)
CIE-LCHlch(81.31, 51.14, 107.49°)
OKLaboklab(83.35% -0.0441 0.1158)
OKLCHoklch(83.35% 0.124 110.8)
XYZxyz(50.1654, 59.0328, 22.9363)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD06C #706CD0
analogous
#D0A26C #CCD06C #9AD06C
triadic
#CCD06C #6CCCD0 #D06CCC
tetradic
#CCD06C #6CD0A2 #706CD0 #D06C9A
square
#CCD06C #6CD0A2 #706CD0 #D06C9A
split-complementary
#CCD06C #6C9AD0 #A26CD0
monochromatic
#8F932F #BCC13E #CCD06C #DCDF9A #ECEEC9

Accessibility & contrast

On white

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

On black

12.81
#CCD06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD06C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD06C#FFFFFF#000000##000000
##CCD06C1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC863
Deuteranopia (green-blind)
#DECB71
Tritanopia (blue-blind)
#D7C6B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd06c;
/* rgb */ color: rgb(204, 208, 108);
/* oklch */ color: oklch(83.4% 0.124 110.8);
Tailwind
colors: {
  custom: {
    50: '#ddde98',
    500: '#ccd06c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd06c;
$custom-light: #ddde98;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd06c",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 108
  },
  "hsl": {
    "h": 62.4,
    "s": 51.546,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83353,
    "c": 0.12394,
    "h": 110.8
  },
  "luminance": 0.59032
}

Semantic roles & 50–950 ramp

primary
#CCD06C
secondary
#4B4899
accent
#27BF2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD06C

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

Preview Lab → · Contrast checker → · Palette generator →

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