#CCD34C#CCD34C

#CCD34C is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.155 H 112.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#CCD34C
RGBrgb(204, 211, 76)
HSLhsl(63, 61%, 56%)
HSVhsv(63, 64%, 83%)
CMYKcmyk(3.3%, 0%, 64%, 17.3%)
CIE-LABlab(81.81, -19.31, 63.54)
CIE-LCHlch(81.81, 66.41, 106.91°)
OKLaboklab(83.65% -0.0585 0.1438)
OKLCHoklch(83.65% 0.155 112.2)
XYZxyz(49.5020, 59.9488, 15.7997)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD34C #534CD3
analogous
#D3974C #CCD34C #89D34C
triadic
#CCD34C #4CCCD3 #D34CCC
tetradic
#CCD34C #4CD397 #534CD3 #D34C89
square
#CCD34C #4CD397 #534CD3 #D34C89
split-complementary
#CCD34C #4C89D3 #974CD3
monochromatic
#7F8420 #AEB52D #CCD34C #DADF7D #E8EBAE

Accessibility & contrast

On white

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

On black

12.99
#CCD34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD34C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD34C#FFFFFF#000000##000000
##CCD34C1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3A
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#D9C7B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd34c;
/* rgb */ color: rgb(204, 211, 76);
/* oklch */ color: oklch(83.7% 0.155 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfe085',
    500: '#ccd34c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd34c;
$custom-light: #dfe085;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd34c",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 76
  },
  "hsl": {
    "h": 63.111,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83654,
    "c": 0.15527,
    "h": 112.2
  },
  "luminance": 0.59948
}

Semantic roles & 50–950 ramp

primary
#CCD34C
secondary
#3D388B
accent
#44E44C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD34C

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

Preview Lab → · Contrast checker → · Palette generator →

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