#CCCD37#CCCD37

#CCCD37 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.2% C 0.163 H 109.9°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CCCD37
RGBrgb(204, 205, 55)
HSLhsl(60, 60%, 51%)
HSVhsv(60, 73%, 80%)
CMYKcmyk(0.5%, 0%, 73.2%, 19.6%)
CIE-LABlab(80.05, -17.45, 69.52)
CIE-LCHlch(80.05, 71.68, 104.09°)
OKLaboklab(82.21% -0.0553 0.153)
OKLCHoklch(82.21% 0.163 109.9)
XYZxyz(47.4245, 56.7772, 12.0746)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD37 #3837CD
analogous
#CD8337 #CCCD37 #81CD37
triadic
#CCCD37 #37CCCD #CD37CC
tetradic
#CCCD37 #37CD83 #3837CD #CD3781
square
#CCCD37 #37CD83 #3837CD #CD3781
split-complementary
#CCCD37 #3781CD #8337CD
monochromatic
#6E6E1C #9E9F28 #CCCD37 #D8D968 #E5E599

Accessibility & contrast

On white

1.70
#CCCD37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CCCD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD37
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD37#FFFFFF#000000##000000
##CCCD371.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC417
Deuteranopia (green-blind)
#DFC943
Tritanopia (blue-blind)
#DAC0B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccd37;
/* rgb */ color: rgb(204, 205, 55);
/* oklch */ color: oklch(82.2% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdc79',
    500: '#cccd37',
    950: '#000000',
  },
}
SCSS
$custom: #cccd37;
$custom-light: #dfdc79;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd37",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 55
  },
  "hsl": {
    "h": 60.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.82206,
    "c": 0.16269,
    "h": 109.9
  },
  "luminance": 0.56776
}

Semantic roles & 50–950 ramp

primary
#CCCD37
secondary
#313177
accent
#45E346
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCCD37

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

Preview Lab → · Contrast checker → · Palette generator →

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