#CCC488#CCC488

#CCC488 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.079 H 101.5°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CCC488
RGBrgb(204, 196, 136)
HSLhsl(53, 40%, 67%)
HSVhsv(53, 33%, 80%)
CMYKcmyk(0%, 3.9%, 33.3%, 20%)
CIE-LABlab(78.52, -6.25, 31.19)
CIE-LCHlch(78.52, 31.81, 101.33°)
OKLaboklab(81.26% -0.0158 0.0775)
OKLCHoklch(81.26% 0.079 101.5)
XYZxyz(49.0862, 54.0959, 31.1436)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC488 #8890CC
analogous
#CCA288 #CCC488 #B2CC88
triadic
#CCC488 #88CCC4 #C488CC
tetradic
#CCC488 #88CCA2 #8890CC #CC88B2
square
#CCC488 #88CCA2 #8890CC #CC88B2
split-complementary
#CCC488 #88B2CC #A288CC
monochromatic
#988E41 #BAAF5D #CCC488 #DED9B3 #F1EEDE

Accessibility & contrast

On white

1.78
#CCC488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CCC488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC488
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC488#FFFFFF#000000##000000
##CCC4881.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC084
Deuteranopia (green-blind)
#D1C48A
Tritanopia (blue-blind)
#D6BCB5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc488;
/* rgb */ color: rgb(204, 196, 136);
/* oklch */ color: oklch(81.3% 0.079 101.5);
Tailwind
colors: {
  custom: {
    50: '#dcd5ab',
    500: '#ccc488',
    950: '#000000',
  },
}
SCSS
$custom: #ccc488;
$custom-light: #dcd5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc488",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 136
  },
  "hsl": {
    "h": 52.941,
    "s": 40,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.07908,
    "h": 101.5
  },
  "luminance": 0.54095
}

Semantic roles & 50–950 ramp

primary
#CCC488
secondary
#59629F
accent
#42B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC488

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

Preview Lab → · Contrast checker → · Palette generator →

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