#CCCB5B#CCCB5B

#CCCB5B is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.134 H 108.6°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CCCB5B
RGBrgb(204, 203, 91)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 0.5%, 55.4%, 20%)
CIE-LABlab(79.79, -14.30, 54.92)
CIE-LCHlch(79.79, 56.76, 104.59°)
OKLaboklab(82.08% -0.0428 0.1275)
OKLCHoklch(82.08% 0.134 108.6)
XYZxyz(48.1474, 56.3059, 18.2273)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB5B #5B5CCC
analogous
#CC925B #CCCB5B #94CC5B
triadic
#CCCB5B #5BCCCB #CB5BCC
tetradic
#CCCB5B #5BCC92 #5B5CCC #CC5B94
square
#CCCB5B #5BCC92 #5B5CCC #CC5B94
split-complementary
#CCCB5B #5B94CC #925BCC
monochromatic
#848329 #B2B137 #CCCB5B #DBDA8A #E9E9B8

Accessibility & contrast

On white

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

On black

12.26
#CCCB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB5B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB5B#FFFFFF#000000##000000
##CCCB5B1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44F
Deuteranopia (green-blind)
#DBC861
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb5b;
/* rgb */ color: rgb(204, 203, 91);
/* oklch */ color: oklch(82.1% 0.134 108.6);
Tailwind
colors: {
  custom: {
    50: '#deda8d',
    500: '#cccb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cccb5b;
$custom-light: #deda8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb5b",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 59.469,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82081,
    "c": 0.13448,
    "h": 108.6
  },
  "luminance": 0.56305
}

Semantic roles & 50–950 ramp

primary
#CCCB5B
secondary
#40418B
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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