#CCD332#CCD332

#CCD332 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.5% C 0.171 H 112.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#CCD332
RGBrgb(204, 211, 50)
HSLhsl(63, 65%, 51%)
HSVhsv(63, 76%, 83%)
CMYKcmyk(3.3%, 0%, 76.3%, 17.3%)
CIE-LABlab(81.65, -20.61, 72.57)
CIE-LCHlch(81.65, 75.45, 105.86°)
OKLaboklab(83.48% -0.0646 0.1586)
OKLCHoklch(83.48% 0.171 112.2)
XYZxyz(48.7735, 59.6574, 11.9628)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD332 #3932D3
analogous
#D38932 #CCD332 #7BD332
triadic
#CCD332 #32CCD3 #D332CC
tetradic
#CCD332 #32D389 #3932D3 #D3327B
square
#CCD332 #32D389 #3932D3 #D3327B
split-complementary
#CCD332 #327BD3 #8932D3
monochromatic
#6E7218 #9FA423 #CCD332 #D9DE64 #E5E997

Accessibility & contrast

On white

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

On black

12.93
#CCD332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD332
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD332#FFFFFF#000000##000000
##CCD3321.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E4CD40
Tritanopia (blue-blind)
#DAC6B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd332;
/* rgb */ color: rgb(204, 211, 50);
/* oklch */ color: oklch(83.5% 0.171 112.2);
Tailwind
colors: {
  custom: {
    50: '#e0e077',
    500: '#ccd332',
    950: '#000000',
  },
}
SCSS
$custom: #ccd332;
$custom-light: #e0e077;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd332",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 62.609,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83476,
    "c": 0.17123,
    "h": 112.2
  },
  "luminance": 0.59656
}

Semantic roles & 50–950 ramp

primary
#CCD332
secondary
#322E7B
accent
#40E847
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD332

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

Preview Lab → · Contrast checker → · Palette generator →

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