#CCC288#CCC288

#CCC288 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.077 H 99.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CCC288
RGBrgb(204, 194, 136)
HSLhsl(51, 40%, 67%)
HSVhsv(51, 33%, 80%)
CMYKcmyk(0%, 4.9%, 33.3%, 20%)
CIE-LABlab(77.99, -5.21, 30.49)
CIE-LCHlch(77.99, 30.93, 99.70°)
OKLaboklab(80.85% -0.0128 0.0759)
OKLCHoklch(80.85% 0.077 99.6)
XYZxyz(48.6381, 53.1997, 30.9942)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC288 #8892CC
analogous
#CCA088 #CCC288 #B4CC88
triadic
#CCC288 #88CCC2 #C288CC
tetradic
#CCC288 #88CCA0 #8892CC #CC88B4
square
#CCC288 #88CCA0 #8892CC #CC88B4
split-complementary
#CCC288 #88B4CC #A088CC
monochromatic
#988C41 #BAAC5D #CCC288 #DED8B3 #F1EEDE

Accessibility & contrast

On white

1.80
#CCC288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CCC288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC288
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC288#FFFFFF#000000##000000
##CCC2881.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE84
Deuteranopia (green-blind)
#D0C38A
Tritanopia (blue-blind)
#D6BAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc288;
/* rgb */ color: rgb(204, 194, 136);
/* oklch */ color: oklch(80.8% 0.077 99.6);
Tailwind
colors: {
  custom: {
    50: '#dcd4ab',
    500: '#ccc288',
    950: '#000000',
  },
}
SCSS
$custom: #ccc288;
$custom-light: #dcd4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc288",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 136
  },
  "hsl": {
    "h": 51.176,
    "s": 40,
    "l": 66.667
  },
  "oklch": {
    "l": 0.80847,
    "c": 0.07693,
    "h": 99.6
  },
  "luminance": 0.53199
}

Semantic roles & 50–950 ramp

primary
#CCC288
secondary
#59649F
accent
#45B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC288

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

Preview Lab → · Contrast checker → · Palette generator →

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