#CCCD5B#CCCD5B

#CCCD5B is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.137 H 109.5°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CCCD5B
RGBrgb(204, 205, 91)
HSLhsl(61, 53%, 58%)
HSVhsv(61, 56%, 80%)
CMYKcmyk(0.5%, 0%, 55.6%, 19.6%)
CIE-LABlab(80.32, -15.30, 55.53)
CIE-LCHlch(80.32, 57.60, 105.41°)
OKLaboklab(82.51% -0.0457 0.1288)
OKLCHoklch(82.51% 0.137 109.5)
XYZxyz(48.6228, 57.2566, 18.3858)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD5B #5C5BCD
analogous
#CD955B #CCCD5B #93CD5B
triadic
#CCCD5B #5BCCCD #CD5BCC
tetradic
#CCCD5B #5BCD95 #5C5BCD #CD5B93
square
#CCCD5B #5BCD95 #5C5BCD #CD5B93
split-complementary
#CCCD5B #5B93CD #955BCD
monochromatic
#848529 #B3B437 #CCCD5B #DBDB8A #E9EAB9

Accessibility & contrast

On white

1.69
#CCCD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CCCD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD5B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD5B#FFFFFF#000000##000000
##CCCD5B1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54F
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#D9C1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd5b;
/* rgb */ color: rgb(204, 205, 91);
/* oklch */ color: oklch(82.5% 0.137 109.5);
Tailwind
colors: {
  custom: {
    50: '#dedc8d',
    500: '#cccd5b',
    950: '#000000',
  },
}
SCSS
$custom: #cccd5b;
$custom-light: #dedc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd5b",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 60.526,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82508,
    "c": 0.13664,
    "h": 109.5
  },
  "luminance": 0.57255
}

Semantic roles & 50–950 ramp

primary
#CCCD5B
secondary
#41408C
accent
#4BDD4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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