#CCCC8D#CCCC8D

#CCCC8D is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.082 H 108.1°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CCCC8D
RGBrgb(204, 204, 141)
HSLhsl(60, 38%, 68%)
HSVhsv(60, 31%, 80%)
CMYKcmyk(0%, 0%, 30.9%, 20%)
CIE-LABlab(80.71, -9.75, 31.49)
CIE-LCHlch(80.71, 32.96, 107.20°)
OKLaboklab(83.03% -0.0256 0.0783)
OKLCHoklch(83.03% 0.082 108.1)
XYZxyz(51.3027, 57.9470, 33.6765)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC8D #8D8DCC
analogous
#CCAC8D #CCCC8D #ACCC8D
triadic
#CCCC8D #8DCCCC #CC8DCC
tetradic
#CCCC8D #8DCCAC #8D8DCC #CC8DAC
square
#CCCC8D #8DCCAC #8D8DCC #CC8DAC
split-complementary
#CCCC8D #8DACCC #AC8DCC
monochromatic
#9A9A45 #B9B963 #CCCC8D #DFDFB7 #F2F2E2

Accessibility & contrast

On white

1.67
#CCCC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CCCC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC8D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC8D#FFFFFF#000000##000000
##CCCC8D1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C789
Deuteranopia (green-blind)
#D7CA90
Tritanopia (blue-blind)
#D5C4BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc8d;
/* rgb */ color: rgb(204, 204, 141);
/* oklch */ color: oklch(83.0% 0.082 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcdbaf',
    500: '#cccc8d',
    950: '#000000',
  },
}
SCSS
$custom: #cccc8d;
$custom-light: #dcdbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc8d",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 38.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83027,
    "c": 0.0824,
    "h": 108.1
  },
  "luminance": 0.57946
}

Semantic roles & 50–950 ramp

primary
#CCCC8D
secondary
#5D5DA0
accent
#34B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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