#CCCC5E#CCCC5E

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

Color values

HEX#CCCC5E
RGBrgb(204, 204, 94)
HSLhsl(60, 52%, 58%)
HSVhsv(60, 54%, 80%)
CMYKcmyk(0%, 0%, 53.9%, 20%)
CIE-LABlab(80.09, -14.57, 53.90)
CIE-LCHlch(80.09, 55.83, 105.12°)
OKLaboklab(82.33% -0.0432 0.1256)
OKLCHoklch(82.33% 0.133 109)
XYZxyz(48.5163, 56.8325, 19.0016)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC5E #5E5ECC
analogous
#CC955E #CCCC5E #95CC5E
triadic
#CCCC5E #5ECCCC #CC5ECC
tetradic
#CCCC5E #5ECC95 #5E5ECC #CC5E95
square
#CCCC5E #5ECC95 #5E5ECC #CC5E95
split-complementary
#CCCC5E #5E95CC #955ECC
monochromatic
#85852A #B4B439 #CCCC5E #DBDB8C #E9E9BB

Accessibility & contrast

On white

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

On black

12.37
#CCCC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC5E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC5E#FFFFFF#000000##000000
##CCCC5E1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccc5e;
/* rgb */ color: rgb(204, 204, 94);
/* oklch */ color: oklch(82.3% 0.133 109.0);
Tailwind
colors: {
  custom: {
    50: '#dedb8f',
    500: '#cccc5e',
    950: '#000000',
  },
}
SCSS
$custom: #cccc5e;
$custom-light: #dedb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc5e",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82327,
    "c": 0.13286,
    "h": 109
  },
  "luminance": 0.56831
}

Semantic roles & 50–950 ramp

primary
#CCCC5E
secondary
#42428D
accent
#4CDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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