#CCCC3D#CCCC3D

#CCCC3D is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.158 H 109.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CCCC3D
RGBrgb(204, 204, 61)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0%, 0%, 70.1%, 20%)
CIE-LABlab(79.82, -16.68, 67.23)
CIE-LCHlch(79.82, 69.27, 103.93°)
OKLaboklab(82.03% -0.0526 0.1492)
OKLCHoklch(82.03% 0.158 109.4)
XYZxyz(47.3387, 56.3614, 12.7992)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC3D #3D3DCC
analogous
#CC853D #CCCC3D #85CC3D
triadic
#CCCC3D #3DCCCC #CC3DCC
tetradic
#CCCC3D #3DCC85 #3D3DCC #CC3D85
square
#CCCC3D #3DCC85 #3D3DCC #CC3D85
split-complementary
#CCCC3D #3D85CC #853DCC
monochromatic
#71711E #A1A12A #CCCC3D #D9D96D #E5E59E

Accessibility & contrast

On white

1.71
#CCCC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CCCC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC3D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC3D#FFFFFF#000000##000000
##CCCC3D1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC324
Deuteranopia (green-blind)
#DEC848
Tritanopia (blue-blind)
#DABFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc3d;
/* rgb */ color: rgb(204, 204, 61);
/* oklch */ color: oklch(82.0% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#dfdb7c',
    500: '#cccc3d',
    950: '#000000',
  },
}
SCSS
$custom: #cccc3d;
$custom-light: #dfdb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc3d",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.8203,
    "c": 0.1582,
    "h": 109.4
  },
  "luminance": 0.5636
}

Semantic roles & 50–950 ramp

primary
#CCCC3D
secondary
#33337A
accent
#46E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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