#CCD336#CCD336

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

Color values

HEX#CCD336
RGBrgb(204, 211, 54)
HSLhsl(63, 64%, 52%)
HSVhsv(63, 74%, 83%)
CMYKcmyk(3.3%, 0%, 74.4%, 17.3%)
CIE-LABlab(81.67, -20.45, 71.36)
CIE-LCHlch(81.67, 74.23, 105.99°)
OKLaboklab(83.5% -0.0638 0.1567)
OKLCHoklch(83.5% 0.169 112.2)
XYZxyz(48.8636, 59.6934, 12.4373)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD336 #3D36D3
analogous
#D38C36 #CCD336 #7ED336
triadic
#CCD336 #36CCD3 #D336CC
tetradic
#CCD336 #36D38C #3D36D3 #D3367E
square
#CCD336 #36D38C #3D36D3 #D3367E
split-complementary
#CCD336 #367ED3 #8C36D3
monochromatic
#71751A #A1A725 #CCD336 #D9DE68 #E5E99A

Accessibility & contrast

On white

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

On black

12.94
#CCD336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD336
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD336#FFFFFF#000000##000000
##CCD3361.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd336;
/* rgb */ color: rgb(204, 211, 54);
/* oklch */ color: oklch(83.5% 0.169 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfe079',
    500: '#ccd336',
    950: '#000000',
  },
}
SCSS
$custom: #ccd336;
$custom-light: #dfe079;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd336",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 54
  },
  "hsl": {
    "h": 62.675,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.83498,
    "c": 0.16919,
    "h": 112.2
  },
  "luminance": 0.59692
}

Semantic roles & 50–950 ramp

primary
#CCD336
secondary
#33307D
accent
#41E748
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD336

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

Preview Lab → · Contrast checker → · Palette generator →

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