#CCCC5C#CCCC5C

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

Color values

HEX#CCCC5C
RGBrgb(204, 204, 92)
HSLhsl(60, 52%, 58%)
HSVhsv(60, 55%, 80%)
CMYKcmyk(0%, 0%, 54.9%, 20%)
CIE-LABlab(80.07, -14.72, 54.79)
CIE-LCHlch(80.07, 56.73, 105.04°)
OKLaboklab(82.31% -0.0439 0.1273)
OKLCHoklch(82.31% 0.135 109)
XYZxyz(48.4278, 56.7971, 18.5350)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC5C #5C5CCC
analogous
#CC945C #CCCC5C #94CC5C
triadic
#CCCC5C #5CCCCC #CC5CCC
tetradic
#CCCC5C #5CCC94 #5C5CCC #CC5C94
square
#CCCC5C #5CCC94 #5C5CCC #CC5C94
split-complementary
#CCCC5C #5C94CC #945CCC
monochromatic
#848429 #B3B338 #CCCC5C #DBDB8B #E9E9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC5C#FFFFFF#000000##000000
##CCCC5C1.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)
#DBC450
Deuteranopia (green-blind)
#DCC862
Tritanopia (blue-blind)
#D9C1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc5c;
/* rgb */ color: rgb(204, 204, 92);
/* oklch */ color: oklch(82.3% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#dedb8e',
    500: '#cccc5c',
    950: '#000000',
  },
}
SCSS
$custom: #cccc5c;
$custom-light: #dedb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc5c",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82305,
    "c": 0.13467,
    "h": 109
  },
  "luminance": 0.56796
}

Semantic roles & 50–950 ramp

primary
#CCCC5C
secondary
#41418C
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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