#CCCC5F#CCCC5F

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

Color values

HEX#CCCC5F
RGBrgb(204, 204, 95)
HSLhsl(60, 52%, 59%)
HSVhsv(60, 53%, 80%)
CMYKcmyk(0%, 0%, 53.4%, 20%)
CIE-LABlab(80.10, -14.49, 53.45)
CIE-LCHlch(80.10, 55.38, 105.16°)
OKLaboklab(82.34% -0.0429 0.1248)
OKLCHoklch(82.34% 0.132 109)
XYZxyz(48.5615, 56.8506, 19.2394)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC5F #5F5FCC
analogous
#CC955F #CCCC5F #95CC5F
triadic
#CCCC5F #5FCCCC #CC5FCC
tetradic
#CCCC5F #5FCC95 #5F5FCC #CC5F95
square
#CCCC5F #5FCC95 #5F5FCC #CC5F95
split-complementary
#CCCC5F #5F95CC #955FCC
monochromatic
#86862B #B4B439 #CCCC5F #DBDB8D #EAEABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC5F#FFFFFF#000000##000000
##CCCC5F1.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)
#DAC554
Deuteranopia (green-blind)
#DCC865
Tritanopia (blue-blind)
#D9C1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc5f;
/* rgb */ color: rgb(204, 204, 95);
/* oklch */ color: oklch(82.3% 0.132 109.0);
Tailwind
colors: {
  custom: {
    50: '#dedb90',
    500: '#cccc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cccc5f;
$custom-light: #dedb90;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc5f",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82339,
    "c": 0.13194,
    "h": 109
  },
  "luminance": 0.56849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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