#CCCC5B#CCCC5B

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

Color values

HEX#CCCC5B
RGBrgb(204, 204, 91)
HSLhsl(60, 53%, 58%)
HSVhsv(60, 55%, 80%)
CMYKcmyk(0%, 0%, 55.4%, 20%)
CIE-LABlab(80.06, -14.80, 55.23)
CIE-LCHlch(80.06, 57.18, 105.00°)
OKLaboklab(82.29% -0.0442 0.1281)
OKLCHoklch(82.29% 0.136 109)
XYZxyz(48.3843, 56.7797, 18.3063)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC5B #5B5BCC
analogous
#CC935B #CCCC5B #93CC5B
triadic
#CCCC5B #5BCCCC #CC5BCC
tetradic
#CCCC5B #5BCC93 #5B5BCC #CC5B93
square
#CCCC5B #5BCC93 #5B5BCC #CC5B93
split-complementary
#CCCC5B #5B93CC #935BCC
monochromatic
#848429 #B2B237 #CCCC5B #DBDB8A #E9E9B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC5B#FFFFFF#000000##000000
##CCCC5B1.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)
#DBC44F
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc5b;
/* rgb */ color: rgb(204, 204, 91);
/* oklch */ color: oklch(82.3% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#dedb8d',
    500: '#cccc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cccc5b;
$custom-light: #dedb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc5b",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82294,
    "c": 0.13556,
    "h": 109
  },
  "luminance": 0.56778
}

Semantic roles & 50–950 ramp

primary
#CCCC5B
secondary
#40408B
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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