#CCCC8F#CCCC8F

#CCCC8F is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.080 H 108.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CCCC8F
RGBrgb(204, 204, 143)
HSLhsl(60, 37%, 68%)
HSVhsv(60, 30%, 80%)
CMYKcmyk(0%, 0%, 29.9%, 20%)
CIE-LABlab(80.74, -9.49, 30.49)
CIE-LCHlch(80.74, 31.94, 107.30°)
OKLaboklab(83.06% -0.0247 0.0761)
OKLCHoklch(83.06% 0.08 108)
XYZxyz(51.4529, 58.0071, 34.4673)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC8F #8F8FCC
analogous
#CCAD8F #CCCC8F #ADCC8F
triadic
#CCCC8F #8FCCCC #CC8FCC
tetradic
#CCCC8F #8FCCAD #8F8FCC #CC8FAD
square
#CCCC8F #8FCCAD #8F8FCC #CC8FAD
split-complementary
#CCCC8F #8FADCC #AD8FCC
monochromatic
#9A9A46 #B9B965 #CCCC8F #DFDFB9 #F2F2E3

Accessibility & contrast

On white

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

On black

12.60
#CCCC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC8F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC8F#FFFFFF#000000##000000
##CCCC8F1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C78B
Deuteranopia (green-blind)
#D7CA91
Tritanopia (blue-blind)
#D5C5BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc8f;
/* rgb */ color: rgb(204, 204, 143);
/* oklch */ color: oklch(83.1% 0.080 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcdbb0',
    500: '#cccc8f',
    950: '#000000',
  },
}
SCSS
$custom: #cccc8f;
$custom-light: #dcdbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc8f",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 143
  },
  "hsl": {
    "h": 60,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83064,
    "c": 0.07997,
    "h": 108
  },
  "luminance": 0.58006
}

Semantic roles & 50–950 ramp

primary
#CCCC8F
secondary
#5E5EA1
accent
#35B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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