#CCD345#CCD345

#CCD345 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.6% C 0.160 H 112.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CCD345
RGBrgb(204, 211, 69)
HSLhsl(63, 62%, 55%)
HSVhsv(63, 67%, 83%)
CMYKcmyk(3.3%, 0%, 67.3%, 17.3%)
CIE-LABlab(81.76, -19.72, 66.22)
CIE-LCHlch(81.76, 69.09, 106.59°)
OKLaboklab(83.6% -0.0604 0.1484)
OKLCHoklch(83.6% 0.16 112.1)
XYZxyz(49.2718, 59.8567, 14.5870)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD345 #4C45D3
analogous
#D39345 #CCD345 #85D345
triadic
#CCD345 #45CCD3 #D345CC
tetradic
#CCD345 #45D393 #4C45D3 #D34585
square
#CCD345 #45D393 #4C45D3 #D34585
split-complementary
#CCD345 #4585D3 #9345D3
monochromatic
#7B7F1E #AAB12A #CCD345 #DADF76 #E7EAA8

Accessibility & contrast

On white

1.62
#CCD345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#CCD345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD345
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD345#FFFFFF#000000##000000
##CCD3451.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92F
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#DAC6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd345;
/* rgb */ color: rgb(204, 211, 69);
/* oklch */ color: oklch(83.6% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe081',
    500: '#ccd345',
    950: '#000000',
  },
}
SCSS
$custom: #ccd345;
$custom-light: #dfe081;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd345",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 69
  },
  "hsl": {
    "h": 62.958,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83598,
    "c": 0.16019,
    "h": 112.1
  },
  "luminance": 0.59856
}

Semantic roles & 50–950 ramp

primary
#CCD345
secondary
#393587
accent
#43E54B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD345

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

Preview Lab → · Contrast checker → · Palette generator →

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