#CCCC3B#CCCC3B

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

Color values

HEX#CCCC3B
RGBrgb(204, 204, 59)
HSLhsl(60, 59%, 52%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0%, 0%, 71.1%, 20%)
CIE-LABlab(79.81, -16.77, 67.93)
CIE-LCHlch(79.81, 69.97, 103.87°)
OKLaboklab(82.02% -0.0531 0.1503)
OKLCHoklch(82.02% 0.159 109.5)
XYZxyz(47.2858, 56.3403, 12.5207)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC3B #3B3BCC
analogous
#CC843B #CCCC3B #84CC3B
triadic
#CCCC3B #3BCCCC #CC3BCC
tetradic
#CCCC3B #3BCC84 #3B3BCC #CC3B84
square
#CCCC3B #3BCC84 #3B3BCC #CC3B84
split-complementary
#CCCC3B #3B84CC #843BCC
monochromatic
#70701D #A0A02A #CCCC3B #D9D96C #E5E59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC3B#FFFFFF#000000##000000
##CCCC3B1.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)
#DCC320
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#DABFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc3b;
/* rgb */ color: rgb(204, 204, 59);
/* oklch */ color: oklch(82.0% 0.159 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdb7b',
    500: '#cccc3b',
    950: '#000000',
  },
}
SCSS
$custom: #cccc3b;
$custom-light: #dfdb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc3b",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82016,
    "c": 0.15941,
    "h": 109.5
  },
  "luminance": 0.56339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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