#CCCB4D#CCCB4D

#CCCB4D is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.9% C 0.146 H 108.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CCCB4D
RGBrgb(204, 203, 77)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 62%, 80%)
CMYKcmyk(0%, 0.5%, 62.3%, 20%)
CIE-LABlab(79.66, -15.28, 60.87)
CIE-LCHlch(79.66, 62.76, 104.09°)
OKLaboklab(81.94% -0.0471 0.1383)
OKLCHoklch(81.94% 0.146 108.8)
XYZxyz(47.5988, 56.0864, 15.3381)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB4D #4D4ECC
analogous
#CC8C4D #CCCB4D #8DCC4D
triadic
#CCCB4D #4DCCCB #CB4DCC
tetradic
#CCCB4D #4DCC8C #4D4ECC #CC4D8D
square
#CCCB4D #4DCC8C #4D4ECC #CC4D8D
split-complementary
#CCCB4D #4D8DCC #8C4DCC
monochromatic
#7B7B23 #ABAA31 #CCCB4D #DAD97D #E7E7AC

Accessibility & contrast

On white

1.72
#CCCB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CCCB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB4D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB4D#FFFFFF#000000##000000
##CCCB4D1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#DABFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb4d;
/* rgb */ color: rgb(204, 203, 77);
/* oklch */ color: oklch(81.9% 0.146 108.8);
Tailwind
colors: {
  custom: {
    50: '#deda85',
    500: '#cccb4d',
    950: '#000000',
  },
}
SCSS
$custom: #cccb4d;
$custom-light: #deda85;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb4d",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 77
  },
  "hsl": {
    "h": 59.528,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81941,
    "c": 0.14612,
    "h": 108.8
  },
  "luminance": 0.56085
}

Semantic roles & 50–950 ramp

primary
#CCCB4D
secondary
#3A3A83
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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