#CCC49F#CCC49F

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

Color values

HEX#CCC49F
RGBrgb(204, 196, 159)
HSLhsl(49, 31%, 71%)
HSVhsv(49, 22%, 80%)
CMYKcmyk(0%, 3.9%, 22.1%, 20%)
CIE-LABlab(78.94, -3.18, 19.62)
CIE-LCHlch(78.94, 19.88, 99.21°)
OKLaboklab(81.73% -0.0063 0.0501)
OKLCHoklch(81.73% 0.051 97.2)
XYZxyz(50.8997, 54.8213, 40.6944)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC49F #9FA7CC
analogous
#CCAD9F #CCC49F #BDCC9F
triadic
#CCC49F #9FCCC4 #C49FCC
tetradic
#CCC49F #9FCCAD #9FA7CC #CC9FBD
square
#CCC49F #9FCCAD #9FA7CC #CC9FBD
split-complementary
#CCC49F #9FBDCC #AD9FCC
monochromatic
#9D9053 #B7AB77 #CCC49F #E1DDC7 #F4F3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC49F#FFFFFF#000000##000000
##CCC49F1.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)
#CCC29D
Deuteranopia (green-blind)
#CEC5A0
Tritanopia (blue-blind)
#D3BEBA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc49f;
/* rgb */ color: rgb(204, 196, 159);
/* oklch */ color: oklch(81.7% 0.051 97.2);
Tailwind
colors: {
  custom: {
    50: '#dcd5bb',
    500: '#ccc49f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc49f;
$custom-light: #dcd5bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc49f",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 159
  },
  "hsl": {
    "h": 49.333,
    "s": 30.612,
    "l": 71.176
  },
  "oklch": {
    "l": 0.81733,
    "c": 0.05052,
    "h": 97.2
  },
  "luminance": 0.5482
}

Semantic roles & 50–950 ramp

primary
#CCC49F
secondary
#6E77A1
accent
#50A93C
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CCC49F

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

Preview Lab → · Contrast checker → · Palette generator →

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