#CCC49E#CCC49E

#CCC49E is a light, muted yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.052 H 97.5°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CCC49E
RGBrgb(204, 196, 158)
HSLhsl(50, 31%, 71%)
HSVhsv(50, 23%, 80%)
CMYKcmyk(0%, 3.9%, 22.5%, 20%)
CIE-LABlab(78.92, -3.33, 20.13)
CIE-LCHlch(78.92, 20.40, 99.38°)
OKLaboklab(81.71% -0.0067 0.0514)
OKLCHoklch(81.71% 0.052 97.5)
XYZxyz(50.8133, 54.7868, 40.2392)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC49E #9EA6CC
analogous
#CCAD9E #CCC49E #BDCC9E
triadic
#CCC49E #9ECCC4 #C49ECC
tetradic
#CCC49E #9ECCAD #9EA6CC #CC9EBD
square
#CCC49E #9ECCAD #9EA6CC #CC9EBD
split-complementary
#CCC49E #9EBDCC #AD9ECC
monochromatic
#9D9053 #B7AC76 #CCC49E #E1DCC6 #F4F3EB

Accessibility & contrast

On white

1.76
#CCC49E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CCC49E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC49E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC49E#FFFFFF#000000##000000
##CCC49E1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC29C
Deuteranopia (green-blind)
#CEC59F
Tritanopia (blue-blind)
#D3BEBA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc49e;
/* rgb */ color: rgb(204, 196, 158);
/* oklch */ color: oklch(81.7% 0.052 97.5);
Tailwind
colors: {
  custom: {
    50: '#dcd5ba',
    500: '#ccc49e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc49e;
$custom-light: #dcd5ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc49e",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 158
  },
  "hsl": {
    "h": 49.565,
    "s": 31.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.81711,
    "c": 0.05179,
    "h": 97.5
  },
  "luminance": 0.54786
}

Semantic roles & 50–950 ramp

primary
#CCC49E
secondary
#6D76A1
accent
#4FAA3C
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC49E

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

Preview Lab → · Contrast checker → · Palette generator →

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