#CCCB5D#CCCB5D

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

Color values

HEX#CCCB5D
RGBrgb(204, 203, 93)
HSLhsl(59, 52%, 58%)
HSVhsv(59, 54%, 80%)
CMYKcmyk(0%, 0.5%, 54.4%, 20%)
CIE-LABlab(79.81, -14.14, 54.04)
CIE-LCHlch(79.81, 55.86, 104.67°)
OKLaboklab(82.1% -0.0421 0.1258)
OKLCHoklch(82.1% 0.133 108.5)
XYZxyz(48.2349, 56.3408, 18.6878)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB5D #5D5ECC
analogous
#CC935D #CCCB5D #96CC5D
triadic
#CCCB5D #5DCCCB #CB5DCC
tetradic
#CCCB5D #5DCC93 #5D5ECC #CC5D96
square
#CCCB5D #5DCC93 #5D5ECC #CC5D96
split-complementary
#CCCB5D #5D96CC #935DCC
monochromatic
#85842A #B3B238 #CCCB5D #DBDA8C #E9E9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCB5D#FFFFFF#000000##000000
##CCCB5D1.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)
#DAC452
Deuteranopia (green-blind)
#DBC863
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb5d;
/* rgb */ color: rgb(204, 203, 93);
/* oklch */ color: oklch(82.1% 0.133 108.5);
Tailwind
colors: {
  custom: {
    50: '#deda8e',
    500: '#cccb5d',
    950: '#000000',
  },
}
SCSS
$custom: #cccb5d;
$custom-light: #deda8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb5d",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 93
  },
  "hsl": {
    "h": 59.459,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82103,
    "c": 0.13269,
    "h": 108.5
  },
  "luminance": 0.5634
}

Semantic roles & 50–950 ramp

primary
#CCCB5D
secondary
#41428C
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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