#CCCD3B#CCCD3B

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

Color values

HEX#CCCD3B
RGBrgb(204, 205, 59)
HSLhsl(60, 59%, 52%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0.5%, 0%, 71.2%, 19.6%)
CIE-LABlab(80.08, -17.27, 68.19)
CIE-LCHlch(80.08, 70.34, 104.21°)
OKLaboklab(82.23% -0.0545 0.1509)
OKLCHoklch(82.23% 0.16 109.9)
XYZxyz(47.5243, 56.8172, 12.6002)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD3B #3C3BCD
analogous
#CD853B #CCCD3B #83CD3B
triadic
#CCCD3B #3BCCCD #CD3BCC
tetradic
#CCCD3B #3BCD85 #3C3BCD #CD3B83
square
#CCCD3B #3BCD85 #3C3BCD #CD3B83
split-complementary
#CCCD3B #3B83CD #853BCD
monochromatic
#70711D #A1A229 #CCCD3B #D9D96C #E5E69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCD3B#FFFFFF#000000##000000
##CCCD3B1.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)
#DDC420
Deuteranopia (green-blind)
#DFC946
Tritanopia (blue-blind)
#DAC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd3b;
/* rgb */ color: rgb(204, 205, 59);
/* oklch */ color: oklch(82.2% 0.160 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdc7b',
    500: '#cccd3b',
    950: '#000000',
  },
}
SCSS
$custom: #cccd3b;
$custom-light: #dfdc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd3b",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 60.411,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.82232,
    "c": 0.1604,
    "h": 109.9
  },
  "luminance": 0.56816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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